public class

SCContactsController

extends SCBaseFilterListController<T, V extends IFilterListViewHolder, F extends IListItemControllerFactory<T, ? extends IListItemController<T, ? extends IListItemViewHolder>>, L extends ILoaderhandler<?>>
implements IContactsController
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<?>>
       ↳ com.c2call.sdk.pub.gui.core.controller.SCBaseFilterListController<T, V extends com.c2call.sdk.pub.gui.core.controller.IFilterListViewHolder, 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<?>>
         ↳ com.c2call.sdk.pub.gui.contacts.controller.SCContactsController

Summary

Public Constructors
SCContactsController(View v, SCViewDescription vd, IFilterProvider<SCFriendData, String> filterProvider)
SCContactsController(View v, SCViewDescription vd, SCViewDescription itemVd, IFilterProvider<SCFriendData, String> filterProvider)
SCContactsController(View v, SCViewDescription vd, SCViewDescription itemVd, IContactListItemControllerFactory controllerFactory, IFilterProvider<SCFriendData, String> filterProvider, IControllerRequestListener requestListener)
Public Methods
void clearFilter()
Clears all filters
boolean isFilterActive()
void onButtonFilterClick(View v)
Called if the filter button was clicked.
void onButtonSearchClick(View v)
Called if the search button was clicked.
SCContactsLoaderHandler onCreateLoaderHandler(IListViewProvider listViewProvider, ILoaderHandlerContextProvider loaderHandlerMasterProvider, IContactListItemControllerFactory itemMediatorFactory, SCViewDescriptionMap itemDescriptions)
void onSearchQuery(String query)
Called if a new search quiry was set
void onSearchTextChanged(TextView v, Editable text)
Called if the user typed a new search query.
void setDecorator(IContactsDecorator decorator)
void showFilterDialog()
Shows the filter dialog
Protected Methods
void onBindViewHolder(IContactsViewHolder vh)
IContactsViewHolder onCreateViewHolder(View v, SCViewDescription vd)
void onDecorate()
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.gui.core.controller.SCBaseFilterListController
From class com.c2call.sdk.pub.gui.core.controller.SCBaseListController
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.IFilterListController
From interface com.c2call.sdk.pub.gui.core.controller.IListController

Public Constructors

public SCContactsController (View v, SCViewDescription vd, IFilterProvider<SCFriendData, String> filterProvider)

public SCContactsController (View v, SCViewDescription vd, SCViewDescription itemVd, IFilterProvider<SCFriendData, String> filterProvider)

public SCContactsController (View v, SCViewDescription vd, SCViewDescription itemVd, IContactListItemControllerFactory controllerFactory, IFilterProvider<SCFriendData, String> filterProvider, IControllerRequestListener requestListener)

Public Methods

public void clearFilter ()

Clears all filters

public boolean isFilterActive ()

public void onButtonFilterClick (View v)

Called if the filter button was clicked.

Parameters
v this clicked button

public void onButtonSearchClick (View v)

Called if the search button was clicked.

Parameters
v the clicked button

public SCContactsLoaderHandler onCreateLoaderHandler (IListViewProvider listViewProvider, ILoaderHandlerContextProvider loaderHandlerMasterProvider, IContactListItemControllerFactory itemMediatorFactory, SCViewDescriptionMap itemDescriptions)

public void onSearchQuery (String query)

Called if a new search quiry was set

Parameters
query the new query

public void onSearchTextChanged (TextView v, Editable text)

Called if the user typed a new search query.

Parameters
v the search field.
text the new text

public void setDecorator (IContactsDecorator decorator)

public void showFilterDialog ()

Shows the filter dialog

Protected Methods

protected void onBindViewHolder (IContactsViewHolder vh)

protected IContactsViewHolder onCreateViewHolder (View v, SCViewDescription vd)

protected void onDecorate ()