ThreadListState

data class ThreadListState(val threads: List<Thread>, val isLoading: Boolean, val isLoadingMore: Boolean, val unseenThreadsCount: Int)

Represents the Threads list state, used to render the Threads list UI.

Parameters

threads

The list of loaded Threads.

isLoading

Indicator if the threads are loading.

isLoadingMore

Indicator if there is loading of the next page of threads in progress.

unseenThreadsCount

The number of threads that we know that exist, but are not (yet) loaded in the list.

Constructors

Link copied to clipboard
constructor(threads: List<Thread>, isLoading: Boolean, isLoadingMore: Boolean, unseenThreadsCount: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard