public class

SCContactListItemController

extends SCBasePictureListItemController<T, V extends IPictureViewHolder & IListItemViewHolder>
implements IContactListItemController
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.contactlistitem.controller.SCContactListItemController

Summary

Public Constructors
SCContactListItemController(View view, SCViewDescription viewDescription, SCFriendData data)
Public Methods
void onButtonDetailsClick(View anchor)
Called when the detail button of an item was clicked
void onDestroy()
Notifies the controller that tha surrounding activity will be destroyed.
void onMainViewClick(View v)
Called when the item was clicked
void onMainViewLongClick(View v)
Called when the item was long-clicked
void onPictureViewClick(View v)
Called when the picture view was clicked
void onViewAttachedToWindow(View v)
void onViewDetachedFromWindow(View v)
boolean openDetail()
Opens the contact's detail view
void showBoard(String userid)
Protected Methods
void onBindViewHolder(IContactListItemViewHolder viewHolder)
SCChoiceDialog onCreateContextDialog()
IContactListItemViewHolder onCreateViewHolder(View v, SCViewDescription vd)
void onFireGroupDetailEvent()
void onShowContextDialog()
[Expand]
Inherited Methods
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.contactlistitem.controller.IContactListItemController
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

Public Constructors

public SCContactListItemController (View view, SCViewDescription viewDescription, SCFriendData data)

Public Methods

public void onButtonDetailsClick (View anchor)

Called when the detail button of an item was clicked

Parameters
anchor the button that was clicked

public void onDestroy ()

Notifies the controller that tha surrounding activity will be destroyed.

public void onMainViewClick (View v)

Called when the item was clicked

Parameters
v the item's main view

public void onMainViewLongClick (View v)

Called when the item was long-clicked

Parameters
v the item's main view

public void onPictureViewClick (View v)

Called when the picture view was clicked

Parameters
v the view that was clicked

public void onViewAttachedToWindow (View v)

public void onViewDetachedFromWindow (View v)

public boolean openDetail ()

Opens the contact's detail view

Returns
  • whether the detail view was opened

public void showBoard (String userid)

Protected Methods

protected void onBindViewHolder (IContactListItemViewHolder viewHolder)

protected SCChoiceDialog onCreateContextDialog ()

protected IContactListItemViewHolder onCreateViewHolder (View v, SCViewDescription vd)

protected void onFireGroupDetailEvent ()

protected void onShowContextDialog ()