Create Group Screen View Model
The CreateGroupScreenViewModel provides the methods for the creation or the editing of a com.tecknobit.pandoro.ui.screens.groups.data.Group item
Author
N7ghtm4r3 - Tecknobit
Parameters
The identifier of the group to edit
See also
Properties
candidateMembersState -> the state used to manage the pagination for the loadCandidateMembers method
candidateProjects -> the list of the candidates projects to share in the group
groupDescription -> the value of the description of the group
groupDescriptionError -> whether the groupDescription field is not valid
groupLogo -> the value of the logo of the group
groupMembers -> the list of the current members in the group
groupName -> the value of the name of the group
groupNameError -> whether the groupName field is not valid
groupProjects -> the list of the current projects shared in the group
userProjects -> the list of the projects owned by the com.tecknobit.pandoro.localUser
Functions
Method to set the availability of the candidates member
Method to count the total amount of the candidates members
Method to manage a candidate project in the groupProjects and candidateProjects lists
Method to set the no-availability of the candidates member
Method to retrieve the data of a Group if needed
Method to retrieve the current projects owned by the com.tecknobit.pandoro.localUser
Method to create or editing the group invoking the correct method to execute the request to handle that operation