Create
Item
View
Model
The CreateItemViewModel class is the support class used by the inherited view models to communicate with the backend for the creation or the editing of a RefyItem
Author
N7ghtm4r3 - Tecknobit
Parameters
: the host to launch the snackbar messages
: the type of the RefyItem
See also
Inheritors
Properties
itemDedicatedList -> a dedicated list of the item, useful to manage for example links, collections or members list attached to the item
itemDescription -> the description of the item
itemDescriptionError -> whether the itemDescription field is not valid
Functions
Function to initializing the existingItem if exists, null otherwise
Wrapper function to execute the request to create or edit an item