BaseBusinessProcessor

public abstract class BaseBusinessProcessor

处理单聊、群聊、讨论组逻辑的公共类

Constructors

Link copied to clipboard
public void BaseBusinessProcessor()

Functions

Link copied to clipboard
Link copied to clipboard
public void init(MessageViewModel messageViewModel, Bundle bundle)
Link copied to clipboard
public boolean isHistoryState(MessageViewModel viewModel)
Link copied to clipboard
public boolean isNormalState(MessageViewModel viewModel)
Link copied to clipboard
public void newMentionMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public void newMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public boolean onBackPressed(MessageViewModel viewModel)
Link copied to clipboard
public void onClearMessage(MessageViewModel viewModel)
Link copied to clipboard
public void onConnectStatusChange(MessageViewModel viewModel, ConnectionStatus status)
检查已读状态,如果 sp 有内容,则发送
Link copied to clipboard
public void onDestroy(MessageViewModel viewModel)
Link copied to clipboard
public void onExistUnreadMessage(MessageViewModel viewModel, Conversation conversation, int unreadMessageCount)
Link copied to clipboard
public void onLoadMessage(MessageViewModel viewModel, List<Message> messages)
Link copied to clipboard
public void onLoadMore(MessageViewModel viewModel)
Link copied to clipboard
public void onMessageItemClick(UiMessage uiMessage)
Link copied to clipboard
public boolean onMessageItemLongClick(UiMessage uiMessage)
Link copied to clipboard
public void onMessageReceiptRequest(MessageViewModel viewModel, ConversationType conversationType, String targetId, String messageUId)
Link copied to clipboard
public boolean onReceived(MessageViewModel viewModel, UiMessage message, int left, boolean hasPackage, boolean offline)
Link copied to clipboard
public boolean onReceivedCmd(MessageViewModel messageViewModel, Message message)
Link copied to clipboard
public void onRefresh(MessageViewModel viewModel)
Link copied to clipboard
public void onResume(MessageViewModel viewModel)
Link copied to clipboard
public void onScrollToBottom(MessageViewModel viewModel)
Link copied to clipboard
public void onUserPortraitClick(Context context, ConversationType conversationType, UserInfo userInfo, String targetId)
Link copied to clipboard
public boolean onUserPortraitLongClick(Context context, ConversationType conversationType, UserInfo userInfo, String targetId)
Link copied to clipboard
public void unreadBarClick(MessageViewModel viewModel)