Notes Screen View Model
The NotesScreenViewModel class is the support class used to manage the com.tecknobit.pandoro.ui.screens.notes.presenter.NotesScreen
Author
N7ghtm4r3 - Tecknobit
See also
Properties
Link copied to clipboard
notesState the state used to manage the pagination for the retrieveNotes method
Link copied to clipboard
selectCompletedNotes whether select the completed notes
Link copied to clipboard
selectToDoNotes whether select the to-do notes
Link copied to clipboard
sessionFlowState the state used to manage the session lifecycle in the screen
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to delete a note
Link copied to clipboard
Link copied to clipboard
Method to manage the selectCompletedNotes filter and apply if needed to the notesState
Link copied to clipboard
Method to manage the status of the note
Link copied to clipboard
Method to manage the selectToDoNotes filter and apply if needed to the notesState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun showSnackbarMessage(message: String, actionLabel: String?, onDismiss: () -> Unit?, onActionPerformed: () -> Unit?, withDismissAction: Boolean, duration: SnackbarDuration)
fun showSnackbarMessage(response: JsonObject, actionLabel: String?, onDismiss: () -> Unit?, onActionPerformed: () -> Unit?, withDismissAction: Boolean, duration: SnackbarDuration)
fun showSnackbarMessage(message: StringResource, actionLabel: StringResource?, onDismiss: () -> Unit?, onActionPerformed: () -> Unit?, withDismissAction: Boolean, duration: SnackbarDuration)
Link copied to clipboard
Link copied to clipboard