Class ChatRoomBusinessProcessor
-
- All Implemented Interfaces:
-
io.rong.imkit.conversation.messgelist.processor.IConversationBusinessProcessor
public class ChatRoomBusinessProcessor extends BaseBusinessProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected StateContextmState
-
Constructor Summary
Constructors Constructor Description ChatRoomBusinessProcessor()
-
Method Summary
Modifier and Type Method Description voidinit(MessageViewModel messageViewModel, Bundle bundle)第一次初始化,绑定事件等 booleanonUserPortraitLongClick(Context context, Conversation.ConversationType conversationType, UserInfo userInfo, String targetId)用户头像长按事件 intgetHistoryMessageCount()voidonDestroy(MessageViewModel viewModel)-
Methods inherited from class io.rong.imkit.conversation.messgelist.processor.BaseBusinessProcessor
isHistoryState, isNormalState, newMentionMessageBarClick, newMessageBarClick, onBackPressed, onClearMessage, onConnectStatusChange, onExistUnreadMessage, onLoadMessage, onLoadMore, onMessageItemClick, onMessageItemLongClick, onMessageReceiptRequest, onReceived, onReceivedCmd, onRefresh, onResume, onScrollToBottom, onUserPortraitClick, unreadBarClick -
Methods inherited from class io.rong.imkit.conversation.messgelist.processor.IConversationBusinessProcessor
onReceived -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
init
void init(MessageViewModel messageViewModel, Bundle bundle)
第一次初始化,绑定事件等
- Parameters:
messageViewModel- 消息处理类bundle- 上一个页面传递过来的 bundle
-
onUserPortraitLongClick
boolean onUserPortraitLongClick(Context context, Conversation.ConversationType conversationType, UserInfo userInfo, String targetId)
用户头像长按事件
-
getHistoryMessageCount
int getHistoryMessageCount()
- Returns:
初始化时,拉取的历史条数,目前只有聊天室需要复写
-
onDestroy
void onDestroy(MessageViewModel viewModel)
-
-
-
-