Links Chooser

fun LinksChooser(currentAttachedLinks: List<RefyLink.RefyLinkImpl>, linksAddedSupportList: SnapshotStateList<RefyLink.RefyLinkImpl>)

Custom component used to choose the links to share in collections or teams

Parameters

currentAttachedLinks

The list of the current links attached in collections or teams

linksAddedSupportList

The list used to contains the links added to be attached


fun LinksChooser(lazyColumSize: Dp = (-1).dp, mainTitle: StringResource?, currentAttachedLinks: List<RefyLink.RefyLinkImpl>, linksAddedSupportList: SnapshotStateList<RefyLink.RefyLinkImpl> = mutableStateListOf(), confirmAction: (List<RefyLink.RefyLinkImpl>) -> Unit?)

Custom component used to choose the links to share in collections or teams

Parameters

lazyColumSize

The size of the PaginatedLazyColumn used to display the links

mainTitle

The main title of the chooser

currentAttachedLinks

The list of the current links attached in collections or teams

linksAddedSupportList

The list used to contains the links added to be attached

confirmAction

The action to execute when the user confirm the choose