public abstract class

SCBaseListController

extends SCBaseController<T extends IViewHolder>
implements IListController<T, V extends IListViewHolder, F extends IListItemControllerFactory<?, ?>, L extends ILoaderhandler>
java.lang.Object
   ↳ com.c2call.sdk.pub.gui.core.controller.SCBaseController<T extends com.c2call.sdk.pub.gui.core.controller.IViewHolder>
     ↳ com.c2call.sdk.pub.gui.core.controller.SCBaseListController<T, V extends com.c2call.sdk.pub.gui.core.controller.IListViewHolder, F extends com.c2call.sdk.pub.gui.core.controller.IListItemControllerFactory<T, ? extends com.c2call.sdk.pub.gui.core.controller.IListItemController<T, ? extends com.c2call.sdk.pub.gui.core.controller.IListItemViewHolder>>, L extends com.c2call.sdk.pub.gui.core.controller.ILoaderhandler<?>>
Known Direct Subclasses
Known Indirect Subclasses

Summary

Public Constructors
SCBaseListController(View v, SCViewDescription vd, SCViewDescription itemViewDescription, F controllerFactory)
SCBaseListController(View v, SCViewDescription vd, SCViewDescriptionMap descriptionMap, F controllerFactory)
Public Methods
F getListItemControllerFactory()
L getLoaderHandler()
SCViewDescriptionMap getViewDesrciptionMap()
void initLoaderHandler()
initializes the ILoaderhandler for this controller.
void onCreate(Activity context, SCActivityResultDispatcher resultDispatcher)
This should be called when your Activity is created.
IListViewProvider onCreateListViewProvider()
ILoaderHandlerContextProvider onCreateLoaderHandlerContextProvider()
synchronized void onDestroy()
Notifies the controller that tha surrounding activity will be destroyed.
void onMovedToScrapHeap(View view)
void setControllerFactory(F controllerFactory)
Protected Methods
void onBindViewHolder(V vh)
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.gui.core.controller.SCBaseController
From class java.lang.Object
From interface android.view.View.OnAttachStateChangeListener
From interface com.c2call.sdk.pub.gui.core.common.IActivityResultListener
From interface com.c2call.sdk.pub.gui.core.controller.IController
From interface com.c2call.sdk.pub.gui.core.controller.IListController

Public Constructors

public SCBaseListController (View v, SCViewDescription vd, SCViewDescription itemViewDescription, F controllerFactory)

public SCBaseListController (View v, SCViewDescription vd, SCViewDescriptionMap descriptionMap, F controllerFactory)

Public Methods

public F getListItemControllerFactory ()

public L getLoaderHandler ()

public SCViewDescriptionMap getViewDesrciptionMap ()

public void initLoaderHandler ()

initializes the ILoaderhandler for this controller. The LoaderHandler creates a cursor for the list's adapter.

public void onCreate (Activity context, SCActivityResultDispatcher resultDispatcher)

This should be called when your Activity is created. Typically in onCreate(...) of the surrounding Activiy.

Parameters
context the surrounding activity
resultDispatcher a result dispatcher that is used by the controller

public IListViewProvider onCreateListViewProvider ()

public ILoaderHandlerContextProvider onCreateLoaderHandlerContextProvider ()

public synchronized void onDestroy ()

Notifies the controller that tha surrounding activity will be destroyed.

public void onMovedToScrapHeap (View view)

public void setControllerFactory (F controllerFactory)

Protected Methods

protected void onBindViewHolder (V vh)