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<?, ?>> |
![]() |
![]() |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Gets a listener that is called when the items picture is ready to be displayed.
Called if this message of this item was visible and should be marked as read.
Called when the item was clicked
v | the item's main view |
---|
Called when the item was long-clicked
v | the item's main view |
---|
Called when the picture view was clicked
v | the view that was clicked |
---|
Called to share the message of the controlled view.
Sets the data for this item
data | the data to be set |
---|---|
decorate | whether the item should be decorated now |
Sets the decorator for this list item
decorator | the decorator to be set |
---|---|
decorateNow | whether the item should be decorated now |