-
public final class ThreadListViewModel extends ViewModel
ViewModel responsible for managing the state of a threads list.
-
-
Constructor Summary
Constructors Constructor Description ThreadListViewModel(ThreadListController controller)
-
Method Summary
-
-
Method Detail
-
load
final Unit load()
Loads the initial data when requested. Overrides all previously retrieved data.
-
loadNextPage
final Unit loadNextPage()
Loads more data when requested.
Does nothing if the end of the list has already been reached or loading is already in progress.
-
-
-
-