NormalState

public class NormalState

会话页面当前状态,正常模式

Functions

Link copied to clipboard
public void init(MessageViewModel messageViewModel, Bundle bundle)
正常模式,初始化,拉取本地历史记录,处理未读数
Link copied to clipboard
public boolean isNormalState(MessageViewModel viewModel)
Link copied to clipboard
public void onClearMessage(MessageViewModel viewModel)
Link copied to clipboard
public void onHistoryBarClick(MessageViewModel messageViewModel)
Link copied to clipboard
public void onLoadMore(MessageViewModel viewModel)
正常模式上拉加载更多
Link copied to clipboard
public void onNewMentionMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public void onNewMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public void onReceived(MessageViewModel viewModel, UiMessage uiMessage, int left, boolean hasPackage, boolean offline)
正常模式,按流程处理
Link copied to clipboard
public void onRefresh(MessageViewModel viewModel)
Link copied to clipboard
public void onScrollToBottom(MessageViewModel viewModel)