public interface IMessageState
Modifier and Type | Field and Description |
---|---|
static IMessageState |
historyState |
static IMessageState |
normalState |
Modifier and Type | Method and Description |
---|---|
void |
init(MessageViewModel viewModel,
android.os.Bundle bundle)
处理历史消息
|
void |
onHistoryBarClick(MessageViewModel viewModel) |
void |
onLoadMore(MessageViewModel viewModel)
处理上拉加载更多
|
void |
onNewMentionMessageBarClick(MessageViewModel viewModel) |
void |
onNewMessageBarClick(MessageViewModel viewModel) |
void |
onReceived(MessageViewModel viewModel,
UiMessage message,
int left,
boolean hasPackage,
boolean offline) |
void |
onRefresh(MessageViewModel viewModel)
处理下拉刷新
|
void |
onScrollToBottom(MessageViewModel viewModel) |
static final IMessageState historyState
static final IMessageState normalState
void init(MessageViewModel viewModel, android.os.Bundle bundle)
void onLoadMore(MessageViewModel viewModel)
void onRefresh(MessageViewModel viewModel)
void onReceived(MessageViewModel viewModel, UiMessage message, int left, boolean hasPackage, boolean offline)
void onNewMessageBarClick(MessageViewModel viewModel)
void onNewMentionMessageBarClick(MessageViewModel viewModel)
void onScrollToBottom(MessageViewModel viewModel)
void onHistoryBarClick(MessageViewModel viewModel)