ChannelListDataHandler

Core data handler for the channel list

Responsible for channel data fetching, filtering, sorting, deduplication, and UI model management. Implements OnPagedDataLoader to support load-more pagination.

Data loading has two paths:

  • refresh — initial load or event-driven refresh, resets pagination (auto-coalesces rapid calls)
  • loadNext — paginated load-more

Since

5.10.4

Constructors

Link copied to clipboard
public void ChannelListDataHandler(Context applicationContext)

Properties

Link copied to clipboard
public final static DataKey<List<BaseUiChannel>> KEY_CONVERSATION_LIST

Functions

Link copied to clipboard
public BaseUiChannel findConversationFromList(ChannelType type, String channelId)
Link copied to clipboard
public boolean hasNext()
Link copied to clipboard
public boolean isSupported(ChannelType type)
Link copied to clipboard
public void loadNext(OnDataChangeListener<Boolean> listener)
Link copied to clipboard
public void refresh()
Refreshes the channel list (resets pagination).
Link copied to clipboard
Link copied to clipboard
public void stop()
Link copied to clipboard
public void updateByChannel(BaseChannel channel)
Updates a single channel (from event callback)