Add
Members
Screen
View
Model
The AddMembersScreenViewModel class is the support class used by the AddMembersScreen to generate the qrcode and the request to add members to the project
Author
N7ghtm4r3 - Tecknobit
Parameters
: the host to launch the snackbar messages
: the project where the user have to be added
See also
Properties
creatingQRCode -> state to manage the qrcode creating phase
errorDuringCreation -> state to manage an error occurred during the qrcode creating phase
joiningQRCode -> the created joining qrcode to share or to scan
members -> the members list with their role
qrcodeCreationAccepted -> state to manage the qrcode creation
Functions
Function to add an empty record to the members list
Function to execute the request to add new members to the project and the related qrcode creation
Function to get the qrcode data to share
Function to remove an item from a support list