MessageListComponent

Message List Component

Author

shaunak

Since

2023-08-21

Constructors

Link copied to clipboard
public void MessageListComponent(Context context)
public void MessageListComponent(Context context, AttributeSet attrs)

Functions

Link copied to clipboard
public View onCreateView(Context context, LayoutInflater inflater, ViewGroup parent, AttributeSet attrs)
Link copied to clipboard
public void onGestureDetectorDown()
Link copied to clipboard
public void onLoadMore(RefreshLayout refreshLayout)
Link copied to clipboard
public void onRefresh(RefreshLayout refreshLayout)
Link copied to clipboard
public void onScrolled(int scrollY, boolean isBottom, int firstPos, int lastPos)
Link copied to clipboard
public void onScrollStateChanged(int newState)
Link copied to clipboard
public void onViewClick(int clickType, View view, int position, UiMessage uiMessage)
Link copied to clipboard
public boolean onViewLongClick(int clickType, View view, int position, UiMessage uiMessage)
Link copied to clipboard
public void setHistoryMessageUnread(int count)
Set the count of unread historical messages
Link copied to clipboard
public void setInputPanelHideClickListener(OnClickListener listener)
Sets the listener for closing the input box
Link copied to clipboard
public void setMessageListData(List<UiMessage> messages)
Set Data Source
Link copied to clipboard
public void setMessageListUiState(MessageUiEvent event)
Set the UI state of the message list
Link copied to clipboard
public void setMsgActionListener(OnActionClickListener<MsgAction<UiMessage>, UiMessage> listener)
Sets the message operation listener
Link copied to clipboard
public void setNewMentionMessageUnread(int count)
Sets the count of unread @ messages
Link copied to clipboard
public void setNewMessageBubbleState(int count)
Sets the count of new messages
Link copied to clipboard
public void setPagedDataLoader(IMessageListDataLoader pagedDataLoader)
Sets the page data loader
Link copied to clipboard
public void setUserPortraitLongClickListener(OnOperateChangeListener<UserInfo> listener)
Listener for long press on the left user avatar