QueryThreadsState

Contains the state related to threads queries.

Properties

Link copied to clipboard
abstract val loading: StateFlow<Boolean>

Indicator if the current state is being loaded.

Link copied to clipboard
abstract val loadingMore: StateFlow<Boolean>

Indicator if the current state is loading more threads (a next page is being loaded).

Link copied to clipboard
abstract val next: StateFlow<String?>

The identifier for the next page of threads. null-value represents that the last page is loaded and there are no more threads to load.

Link copied to clipboard
abstract val threads: StateFlow<List<Thread>>

Sorted list of Threads.

Link copied to clipboard
abstract val unseenThreadIds: StateFlow<Set<String>>

The IDs of the threads which exist, but are not (yet) loaded in the paginated list of threads.