# NormalState

public class NormalState

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

## Functions

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