Create Team View Model
The CreateTeamViewModel class is the support class used by CreateTeamActivity to communicate with the backend for the creation or the editing of a Team
Author
N7ghtm4r3 - Tecknobit
Parameters
snackbar Host State
: the host to launch the snackbar messages
See also
Properties
Link copied to clipboard
itemDedicatedList -> a dedicated list of the item, useful to manage for example links, collections or members list attached to the item
Link copied to clipboard
itemDescription -> the description of the item
Link copied to clipboard
itemDescriptionError -> whether the itemDescription field is not valid
Link copied to clipboard
itemName -> the name of the item
Link copied to clipboard
logoPic -> the logo picture of the team
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun execRefreshingRoutine(currentContext: Class<*>, routine: () -> Unit, repeatRoutine: Boolean, refreshDelay: Long)
Link copied to clipboard
Function to execute the request to fetch the potentials member for the team
Link copied to clipboard
Link copied to clipboard
Function to initializing the existingItem if exists, null otherwise
Link copied to clipboard
Wrapper function to execute the request to create or edit an item
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard