MultipleListViewModel

abstract class MultipleListViewModel

The MultipleListViewModel is useful to manage the lists displayed in a screen such as com.tecknobit.pandoro.ui.screens.projects.presenter.ProjectsScreen or com.tecknobit.pandoro.ui.screens.groups.presenter.GroupsScreen

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxViewModel

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun areFiltersSet(allItems: Boolean): Boolean

Method to check whether the filters have been set

Link copied to clipboard
abstract fun clearFilters(allItems: Boolean)

Method to clear filters have been set

Link copied to clipboard
abstract fun filterItems(allItems: Boolean, filters: MutableState<String>, onFiltersSet: () -> Unit)

Method to filter the items list

Link copied to clipboard
abstract fun retryRetrieveLists()

Method to retry the retrieving of the lists data