Package-level declarations

Types

Link copied to clipboard

ViewModel responsible for managing the state of a threads list.

Link copied to clipboard
class ThreadsViewModelFactory(threadLimit: Int = ThreadListController.DEFAULT_THREAD_LIMIT, threadReplyLimit: Int = ThreadListController.DEFAULT_THREAD_REPLY_LIMIT, threadParticipantLimit: Int = ThreadListController.DEFAULT_THREAD_PARTICIPANT_LIMIT) : ViewModelProvider.Factory

A ViewModel factory for creating a ThreadListViewModel.

Inherited functions

Link copied to clipboard
@JvmName(name = "bind")
fun ThreadListViewModel.bindView(view: ThreadListView, lifecycleOwner: LifecycleOwner)

Binds ThreadListView to a ThreadListViewModel, updating the view's state based on data provided by the ViewModel and propagating view events to the ViewModel as needed.