Teams Manager

interface TeamsManager

The TeamsManager interface is used to manage the teams data list and the operations such sharing or team deletion

Author

N7ghtm4r3 - Tecknobit

Inheritors

Properties

Link copied to clipboard
abstract val requestsScope: CoroutineScope

requestsScope the CoroutineScope used to make the requests to the backend

Functions

Link copied to clipboard
open fun attachCollections(team: Team, collections: List<LinksCollection>, afterAttached: () -> Unit)

Method to request to attach collections to the team

Link copied to clipboard
open fun attachLinks(team: Team, links: List<RefyLink.RefyLinkImpl>, afterAttached: () -> Unit)

Method to request to attach links to the team

Link copied to clipboard
open fun deleteTeam(team: Team, onDelete: () -> Unit)

Method to delete the team

Link copied to clipboard

Method to refresh the data after the collections have been attached

Link copied to clipboard

Method to refresh the data after the links have been attached