DismissedTabBackground.kt |
The background of a [Tab] that is being swiped left or right.
@param dismissDirection [DismissDirection] of the ongoing swipe. Depending on the direction,
the background will also include a warning icon at the start of the swipe gesture.
If `null` the warning icon will be shown at both ends.
@param shape Shape of the background.
|
4111 |
MediaImage.kt |
Controller buttons for the media (play/pause) state for the given [tab].
@param tab [TabSessionState] which the image should be shown.
@param onMediaIconClicked handles the click event when tab has media session like play/pause.
@param modifier [Modifier] to be applied to the layout.
@param interactionSource [MutableInteractionSource] used to propagate the ripple effect on click.
|
2963 |
TabGridItem.kt |
Tab grid item used to display a tab that supports clicks,
long clicks, multiple selection, and media controls.
@param tab The given tab to be render as view a grid item.
@param thumbnailSize Size of tab's thumbnail.
@param isSelected Indicates if the item should be render as selected.
@param multiSelectionEnabled Indicates if the item should be render with multi selection options,
enabled.
@param multiSelectionSelected Indicates if the item should be render as multi selection selected
option.
@param shouldClickListen Whether or not the item should stop listening to click events.
@param onCloseClick Callback to handle the click event of the close button.
@param onMediaClick Callback to handle when the media item is clicked.
@param onClick Callback to handle when item is clicked.
@param onLongClick Optional callback to handle when item is long clicked.
|
13796 |
TabListItem.kt |
List item used to display a tab that supports clicks,
long clicks, multiselection, and media controls.
@param tab The given tab to be render as view a grid item.
@param thumbnailSize Size of tab's thumbnail.
@param isSelected Indicates if the item should be render as selected.
@param multiSelectionEnabled Indicates if the item should be render with multi selection options,
enabled.
@param multiSelectionSelected Indicates if the item should be render as multi selection selected
option.
@param shouldClickListen Whether or not the item should stop listening to click events.
@param onCloseClick Callback to handle the click event of the close button.
@param onMediaClick Callback to handle when the media item is clicked.
@param onClick Callback to handle when item is clicked.
@param onLongClick Optional callback to handle when item is long clicked.
|
10674 |