public abstract class

SCBoardListItemBaseController

extends SCBasePictureListItemController<T, V extends IPictureViewHolder & IListItemViewHolder>
implements IBoardListItemBaseController<V extends IBoardListItemBaseViewHolder> SCBitmapManager.IBitmapListener
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.boardlistitem.controller.SCBoardListItemBaseController<V extends com.c2call.sdk.pub.gui.boardlistitem.controller.IBoardListItemBaseViewHolder, D extends com.c2call.sdk.pub.gui.boardlistitem.decorator.IBoardListItemBaseDecorator<?, ?>>
Known Direct Subclasses
Known Indirect Subclasses

Summary

Public Constructors
SCBoardListItemBaseController(SCBoardListItemType type, View view, SCViewDescription viewDescription, SCBoardEventData data)
Public Methods
boolean doRecallOnDelete()
SCBoardListItemType getBoardListItemType()
Gets the type of this item.
IBoardListItemBaseDecorator getDecorator()
Gets the decorator.
int getDefaultPictureResource()
int getMessageStatus()
SCBitmapManager.IBitmapListener getRemoteUserPictureListener()
Gets a listener that is called when the items picture is ready to be displayed.
void onDeleteMessage()
void onHandleReadReport()
Called if this message of this item was visible and should be marked as read.
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 onPostSetData(SCBoardEventData newData)
void onRecallMessage()
void onRemoteBitmapLoaded(Bitmap bitmap, String url)
void onShareMessage()
Called to share the message of the controlled view.
void onViewDetachedFromWindow(View v)
void setData(SCBoardEventData data, boolean decorate)
Sets the data for this item
void setDecorator(IDecorator decorator, boolean decorateNow)
Sets the decorator for this list item
Protected Methods
boolean isRecallable()
void onBindViewHolder(V viewHolder)
void onDecorateStatusIcon()
void updateFriend()
[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.boardlistitem.controller.IBoardListItemBaseController
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.storage.SCBitmapManager.IBitmapListener

Public Constructors

public SCBoardListItemBaseController (SCBoardListItemType type, View view, SCViewDescription viewDescription, SCBoardEventData data)

Public Methods

public boolean doRecallOnDelete ()

public SCBoardListItemType getBoardListItemType ()

Gets the type of this item.

Returns
  • the type.

public IBoardListItemBaseDecorator getDecorator ()

Gets the decorator.

Returns
  • the decorator

public int getDefaultPictureResource ()

public int getMessageStatus ()

public SCBitmapManager.IBitmapListener getRemoteUserPictureListener ()

Gets a listener that is called when the items picture is ready to be displayed.

Returns
  • the listener

public void onDeleteMessage ()

public void onHandleReadReport ()

Called if this message of this item was visible and should be marked as read.

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 onPostSetData (SCBoardEventData newData)

public void onRecallMessage ()

public void onRemoteBitmapLoaded (Bitmap bitmap, String url)

public void onShareMessage ()

Called to share the message of the controlled view.

public void onViewDetachedFromWindow (View v)

public void setData (SCBoardEventData data, boolean decorate)

Sets the data for this item

Parameters
data the data to be set
decorate whether the item should be decorated now

public void setDecorator (IDecorator decorator, boolean decorateNow)

Sets the decorator for this list item

Parameters
decorator the decorator to be set
decorateNow whether the item should be decorated now

Protected Methods

protected boolean isRecallable ()

protected void onBindViewHolder (V viewHolder)

protected void onDecorateStatusIcon ()

protected void updateFriend ()