Groups Screen View Model
The GroupsScreenViewModel is useful to manage the lists displayed in the com.tecknobit.pandoro.ui.screens.groups.presenter.GroupsScreen
Author
N7ghtm4r3 - Tecknobit
See also
Properties
allGroupsState -> the state used to manage the pagination for the retrieveAllGroups method
allGroupsStateFilters -> the filters to apply to the allGroupsState list
myGroupsState -> the state used to manage the pagination for the retrieveMyGroups method
myGroupsStateFilters -> the filters to apply to the myGroupsState list
roleFilters -> the roles used as filters to apply to the allGroupsState list
Functions
Method to check whether the filters have been set
Method to clear filters have been set
Method to delete a group
Method to filter the items list
Method to manage the roleFilters list
Method to refresh the myGroupsState and the allGroupsState after a group deleted
Method to reset as default the roleFilters list
Method to retry the retrieving of the lists data