TeamsListScreen

The TeamsListScreen class is useful to display the Team's list

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun AddCollectionsButton(viewModel: TeamViewModelHelper, show: MutableState<Boolean>, collections: List<LinksCollection>, team: Team, tint: Color)

Function to share the collections with a team

Link copied to clipboard
open fun AddLinksButton(viewModel: LinksCollectionViewModelHelper, show: MutableState<Boolean>, links: List<RefyLink>, collection: LinksCollection, tint: Color)

Function to add links to a collection

open fun AddLinksButton(viewModel: TeamViewModelHelper, show: MutableState<Boolean>, links: List<RefyLink>, team: Team, tint: Color)

Function to add links to a teams

Link copied to clipboard
open fun DeleteLinkButton(activity: Activity?, viewModel: LinksViewModelHelper<RefyLink>, deleteLink: MutableState<Boolean>, link: RefyLink, tint: Color)

Function to delete a link

Link copied to clipboard
open fun DeleteTeamButton(activity: Activity?, viewModel: TeamViewModelHelper, deleteTeam: MutableState<Boolean>, team: Team, tint: Color)

Function to delete a team

Link copied to clipboard
open override fun executeFabAction()

Function to execute the fab action previously set

Link copied to clipboard
open fun LeaveTeamButton(activity: Activity?, viewModel: TeamViewModelHelper, leaveTeam: MutableState<Boolean>, team: Team, tint: Color)

Function to leave from a team

Link copied to clipboard
open fun ManagedContent(context: Context, content: @Composable () -> Unit)

Function to display the correct content based on the current scenario such server offline or device disconnected

Link copied to clipboard
open fun openLink(context: Context, link: RefyLink)
open fun openLink(context: Context, link: String)

Function to open a link

Link copied to clipboard

Function to restart the refresher of the screen displayed

Link copied to clipboard
open override fun SetFabAction()

Function to set the action to execute when the FloatingActionButton has been clicked

Link copied to clipboard
open fun ShareButton(context: Context, link: RefyLink)
open fun ShareButton(context: Context, link: RefyLink, tint: Color)

Function to share a link outside the application

Link copied to clipboard
open fun shareLink(context: Context, link: RefyLink)

Function to share a link

Link copied to clipboard
open override fun ShowContent()

Function to display the content of the screen

Link copied to clipboard
open fun showLinkReference(snackbarHostState: SnackbarHostState, link: RefyLink)

Function for the security view of a link

Link copied to clipboard

Function to suspend the refresher of the screen displayed

Link copied to clipboard
open fun ViewLinkReferenceButton(snackbarHostState: SnackbarHostState, link: RefyLink)

Function to show the reference link for the secure view