# HistoryState

public class HistoryState

## 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 viewModel)
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)