StateContext

public class StateContext

Constructors

Link copied to clipboard
public void StateContext(int state)

Properties

Link copied to clipboard
public final static int CHATROOM_NORMAL_STATE
Link copied to clipboard
public final static int HISTORY_STATE
Link copied to clipboard
public final static int NORMAL_STATE

Functions

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 onClearMessage(MessageViewModel viewModel)
Link copied to clipboard
public void onHistoryBarClick(MessageViewModel viewModel)
Link copied to clipboard
public void onLoadMore(MessageViewModel viewModel)
Link copied to clipboard
public void onNewMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public void onReceived(MessageViewModel messageViewModel, UiMessage message, int left, boolean hasPackage, boolean offline)
Link copied to clipboard
public void onRefresh(MessageViewModel viewModel)
Link copied to clipboard
public void onScrollToBottom(MessageViewModel viewModel)
Link copied to clipboard
public void setCurrentState(IMessageState state)