Link
List
View
Model
The LinkListViewModel class is the support class used by LinkListScreen to communicate with the backend and to execute the refreshing routines to update the UI data and working with the RefyLink
Author
N7ghtm4r3 - Tecknobit
See also
Properties
linkDescription -> the description of the link
linkDescriptionError -> whether the linkDescription field is not valid
linkReference -> the url reference to of the link
linkReferenceError -> whether the linkReference field is not valid
Functions
Function to share the link with collections
Function to share the link with teams
Function to execute the request to delete a link
Wrapper function to execute the request to create or edit a link
Function to execute the request to fetch only the collections owned by the localUser, the collections fetched will be set to localUser.collections
Function to execute the request to fetch only the links owned by the localUser, the links fetched will be set to localUser.links
Function to execute the request to fetch only the teams owned by the localUser, the teams fetched will be set to localUser.teams