Collection
Screen
View
Model
The CollectionScreenViewModel
class is the support class used by the com.tecknobit.refy.ui.screens.collection.presenter.CollectionScreen
Author
N7ghtm4r3 - Tecknobit
Parameters
The identifier of the collection
The name of the collection
The color of the collection
See also
Properties
collectionTeams
the state used to handle the pagination
of the teams where the collection is
shared
keywords
the keywords used as filter
linksState
the state used to handle the pagination
of the links list
requestsScope
the CoroutineScope
used to make the requests to the backend
sessionFlowState
the state used to manage the session
lifecycle in the screen
Functions
Method to request to attach links to the collection
Method to delete the collection
Routine to perform when the server is currently offline
Method to refresh the data after the links have been attached
Method to refresh the data after the collection has been shared with teams
Method to remove a link contained by the _item
Method to remove a team from the collection
Method to retrieve the information of the item to display
Method to request to share the collection with teams