public class

SCOfferwallFragment

extends SCBaseFragment<T extends IController, Callbacks extends IFragmentCallbacks>
java.lang.Object
   ↳ android.app.Fragment
     ↳ com.c2call.sdk.pub.fragments.core.SCBaseFragment<T extends com.c2call.sdk.pub.gui.core.controller.IController, Callbacks extends com.c2call.sdk.pub.fragments.core.IFragmentCallbacks>
       ↳ com.c2call.sdk.pub.fragments.SCOfferwallFragment

Class Overview

This fragment is controlled by IOfferwallController and provides a view to

Summary

Nested Classes
interface SCOfferwallFragment.Callbacks  
[Expand]
Inherited Constants
From interface android.content.ComponentCallbacks2
Public Constructors
SCOfferwallFragment()
Public Methods
static SCOfferwallFragment create()
Protected Methods
int getDefaultLayout()
If no layout was passed by intent (key: EXTRA_DATA_LAYOUT) then this layout will be used as default
int getItemLayout()
Get the layout resource id of the list items
void onControllerPreCreate(IOfferwallController controller)
IOfferwallController onCreateController(View v, SCViewDescription vd)
Called in onActivityCreated(Bundle) to create a IController for this fragment
IOfferwallItemControllerFactory onCreateItemControllerFactory()
Called to create a factory for the item controllers
SCViewDescription onCreateItemViewDescription()
Called to create the view description of the list items
SCViewDescription onCreateViewDescription()
Create a SCViewDescription that is used in onCreateController(View, SCViewDescription) to create a new Controller
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.fragments.core.SCBaseFragment
From class android.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface com.c2call.sdk.pub.fragments.communication.IFragmentCommunication
From interface com.c2call.sdk.pub.gui.core.controller.IControllerRequestListener

Public Constructors

public SCOfferwallFragment ()

Public Methods

public static SCOfferwallFragment create ()

Protected Methods

protected int getDefaultLayout ()

If no layout was passed by intent (key: EXTRA_DATA_LAYOUT) then this layout will be used as default

Returns
  • the default layout for this fragment

protected int getItemLayout ()

Get the layout resource id of the list items

protected void onControllerPreCreate (IOfferwallController controller)

Parameters
controller the Controller

protected IOfferwallController onCreateController (View v, SCViewDescription vd)

Called in onActivityCreated(Bundle) to create a IController for this fragment

Parameters
v the view that is needed to create the controller. This is the result of onCreateView(LayoutInflater, ViewGroup, Bundle)
vd the view that is needed to create the contrller
Returns
  • the controller that will control this Fragment

protected IOfferwallItemControllerFactory onCreateItemControllerFactory ()

Called to create a factory for the item controllers

protected SCViewDescription onCreateItemViewDescription ()

Called to create the view description of the list items

protected SCViewDescription onCreateViewDescription ()

Create a SCViewDescription that is used in onCreateController(View, SCViewDescription) to create a new Controller

Returns