EquinoxViewModel
The EquinoxViewModel
class is the support class used by the related activities to communicate with the backend and to execute the refreshing routines to update the UI data
Related documentation: EquinoxViewModel
Author
N7ghtm4r3 - Tecknobit
Parameters
The host to launch the snackbar messages
See also
Inheritors
Functions
Method used to get whether the viewModelScope can start, so if there aren't other jobs that routine is already executing
Method used to suspend the current viewModelScope to execute other requests to the backend, the isRefreshing instance will be set as false to allow the restart of the routine after executing the other requests
Method used to restart the current viewModelScope after other requests has been executed, the isRefreshing instance will be set as true to deny the restart of the routine after executing the other requests
Method used to conditionally restart the current retrieverScope after other requests has been executed, the isRefreshing instance will be set as true to deny the restart of the routine after executing the other requests
Method used to set the current active context where the retrieverScope is executing
Method used to display a response message with a snackbar
Method used to suspend the current viewModelScope to execute other requests to the backend, the isRefreshing instance will be set as false to allow the restart of the routine after executing the other requests
Method used to conditionally suspend the current retrieverScope to execute other requests to the backend, the isRefreshing instance will be set as false to allow the restart of the routine after executing the other requests