public class

SCSelectContactItemController

extends BaseContactListItemController<V extends IFriendListItemViewHolder>
implements ISelectContactItemController
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.SCBaseListItemController<T, V extends com.c2call.sdk.pub.gui.core.controller.IListItemViewHolder>
       ↳ com.c2call.sdk.pub.gui.core.controller.SCBasePictureListItemController<T, V extends com.c2call.sdk.pub.gui.core.controller.IPictureViewHolder & com.c2call.sdk.pub.gui.core.controller.IListItemViewHolder>
         ↳ com.c2call.sdk.pub.gui.friendlistitem.controller.core.BaseContactListItemController<V extends com.c2call.sdk.pub.gui.friendlistitem.controller.IFriendListItemViewHolder>
           ↳ com.c2call.sdk.pub.gui.selectcontactlist.controller.SCSelectContactItemController

Summary

Public Constructors
SCSelectContactItemController(View view, SCViewDescription viewDescription, SCFriendData data, StringPair selectionManagerKey)
Public Methods
ContactsListModus getModus()
Gets the current list modus
boolean isSelectable()
Checks whether this item is selectable
boolean isSelected()
Checkes whether this item is selected
void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
Called when the check state of this item changed
void onCreate(Activity context, SCActivityResultDispatcher resultDispatcher)
This should be called when your Activity is created.
void onMainViewClick(View v)
Called when the item was clicked
void setModus(ContactsListModus modus)
Set a new ist modus
Protected Methods
void onBindViewHolder(ISelectContactItemViewHolder vh)
ISelectContactItemViewHolder onCreateViewHolder(View v, SCViewDescription vd)
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.gui.friendlistitem.controller.core.BaseContactListItemController
From class com.c2call.sdk.pub.gui.core.controller.SCBasePictureListItemController
From class com.c2call.sdk.pub.gui.core.controller.SCBaseListItemController
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.IListItemController
From interface com.c2call.sdk.pub.gui.core.controller.IPictureListItemController
From interface com.c2call.sdk.pub.gui.selectcontactlist.controller.ISelectContactItemController

Public Constructors

public SCSelectContactItemController (View view, SCViewDescription viewDescription, SCFriendData data, StringPair selectionManagerKey)

Public Methods

public ContactsListModus getModus ()

Gets the current list modus

Returns
  • the current list modus

public boolean isSelectable ()

Checks whether this item is selectable

Returns
  • true, if item is selectable

public boolean isSelected ()

Checkes whether this item is selected

Returns
  • true, if this item is selected

public void onCheckedChanged (CompoundButton buttonView, boolean isChecked)

Called when the check state of this item changed

Parameters
buttonView the CheckBox that changed
isChecked true, if checked now, false otherwise

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 void onMainViewClick (View v)

Called when the item was clicked

Parameters
v the item's main view

public void setModus (ContactsListModus modus)

Set a new ist modus

Parameters
modus the new modus to be set

Protected Methods

protected void onBindViewHolder (ISelectContactItemViewHolder vh)

protected ISelectContactItemViewHolder onCreateViewHolder (View v, SCViewDescription vd)