Package-level declarations

Properties

Link copied to clipboard
const val CHOOSER_PAGES: Int = 2

CHOOSER_PAGES constant value of the number of the pages displayed in the choosers

Link copied to clipboard
lateinit var imageLoader: ImageLoader

imageLoader the image loader used by coil library to load the image and by-passing the https self-signed certificates

Link copied to clipboard

MINIMUM_DESCRIPTION_LINES the minimum number of lines occupied by the description of an item

Link copied to clipboard

titleStyle the style to apply to the title of the EquinoxAlertDialog

Functions

Link copied to clipboard
fun AttachCollection(state: SheetState, scope: CoroutineScope, collectionsManager: CollectionsManager, collection: LinksCollection)

Component used to attach links to the collection or share it in teams

Link copied to clipboard
fun AttachItemButton(attachItemContent: @Composable (SheetState, CoroutineScope) -> Unit)

Custom button used to attach, or to share, items with a RefyItem

Link copied to clipboard
fun AttachLink(state: SheetState, scope: CoroutineScope, viewModel: LinksScreenViewModel, link: RefyLink.RefyLinkImpl)

Component used to attach, so share, the link in collections or in teams

Link copied to clipboard
fun AttachTeam(state: SheetState, scope: CoroutineScope, teamsManager: TeamsManager, team: Team)

Component used to attach links or collections to the team

Link copied to clipboard

Alert to warn about the account deletion

Link copied to clipboard
fun DeleteCollection(show: MutableState<Boolean>, collectionsManager: CollectionsManager, collection: LinksCollection, onDelete: () -> Unit)

Custom EquinoxAlertDialog used to warn the user about the deletion of a LinksCollection

Link copied to clipboard
fun DeleteItemButton(modifier: Modifier = Modifier, item: RefyItem, deleteContent: @Composable (MutableState<Boolean>) -> Unit)

Custom button used to delete an item

Link copied to clipboard

Custom EquinoxAlertDialog used to warn the user about the deletion of a RefyLink

Link copied to clipboard
fun DeleteTeam(show: MutableState<Boolean>, teamsManager: TeamsManager, team: Team, onDelete: () -> Unit)

Custom EquinoxAlertDialog used to warn the user about the deletion of a Team

Link copied to clipboard

Custom layout used to display the empty state about the no collections availability

Link copied to clipboard

Custom layout used to display the empty state about the no links availability

Link copied to clipboard

Custom layout used to display the empty state about the no members are joined in the team scenario

Link copied to clipboard

Custom layout used to display the empty state about the no teams availability

Link copied to clipboard
fun ExpandCardButton(expanded: MutableState<Boolean>, descriptionLines: MutableState<Int>)

Custom button used to expand the ItemCardDetails

Link copied to clipboard
fun FirstPageProgressIndicator(modifier: Modifier = Modifier)

The custom progress indicator visible when the first page of the items requested has been loading

Link copied to clipboard
fun ItemCardDetails(modifier: Modifier = Modifier, expanded: MutableState<Boolean>, item: RefyItem, info: StringResource, extraInformation: @Composable () -> Unit? = null, descriptionLines: MutableState<Int>)

Container used to display a custom card with the details of a RefyItem

Link copied to clipboard
fun ItemInfo(info: String, color: Color = Color.Unspecified)

Section to display a custom information about a RefyItem

Link copied to clipboard

The title of the item

Link copied to clipboard

Alert to warn about the leaving from a team action

Link copied to clipboard
fun LinksChooser(currentAttachedLinks: List<RefyLink.RefyLinkImpl>, linksAddedSupportList: SnapshotStateList<RefyLink.RefyLinkImpl>)
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

Link copied to clipboard
fun LinksCollectionsChooser(mainTitle: StringResource, subTitle: StringResource = Res.string.with_collections, currentLinksCollectionsAttached: List<LinksCollection>, confirmAction: (List<LinksCollection>) -> Unit)

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

Link copied to clipboard

Alert to warn about the logout action

Link copied to clipboard
fun NewPageProgressIndicator(modifier: Modifier = Modifier)

The custom progress indicator visible when a new page of items has been requested

Link copied to clipboard
fun ProfilePic(modifier: Modifier = Modifier, profilePic: String = localUser.profilePic, size: Dp, onClick: () -> Unit = { navToProfileScreen() })

Custom AsyncImage used to display the profile pic of the localUser or the member of a team

Link copied to clipboard
fun RemoveItemButton(removeAction: () -> Unit, color: Color = MaterialTheme.colorScheme.error)

Custom button used to remove the item from collections or teams

Link copied to clipboard
@FutureEquinoxApi(releaseVersion = "1.1.4", additionalNotes = " - Will be released due its utility in different applications " )
fun RetryButton(onRetry: () -> Unit, text: StringResource = Res.string.retry)
Link copied to clipboard
fun ScreenTopBar(screenTitle: StringResource)
Link copied to clipboard
fun TeamLogo(modifier: Modifier = Modifier, size: Dp = 40.dp, onClick: () -> Unit? = null, team: Team)
fun TeamLogo(modifier: Modifier = Modifier, size: Dp = 40.dp, onClick: () -> Unit? = null, teamLogo: String?)

Custom AsyncImage used to display the logo of a Team

Link copied to clipboard
fun TeamMemberListItem(iAmAnAuthorizedMember: Boolean, member: TeamMember, onRoleSelected: (MutableState<Boolean>, MutableState<TeamRole>) -> Unit, trailingContent: @Composable () -> Unit)

Custom ListItem used to display the information of a TeamMember

Link copied to clipboard
fun TeamsChooser(mainTitle: StringResource, currentTeamsAttached: List<Team>, confirmAction: (List<Team>) -> Unit)

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