Class ChatRoomBusinessProcessor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void init(MessageViewModel messageViewModel, Bundle bundle) 第一次初始化,绑定事件等
      boolean onUserPortraitLongClick(Context context, Conversation.ConversationType conversationType, UserInfo userInfo, String targetId) 用户头像长按事件
      int getHistoryMessageCount()
      void onDestroy(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
    • Constructor Detail

      • ChatRoomBusinessProcessor

        ChatRoomBusinessProcessor()
    • 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:

        初始化时,拉取的历史条数,目前只有聊天室需要复写