RevealableListItem

Interface for the part of a ListItem that is able to be revealed when swiped.

Inheritors

Types

Link copied to clipboard
Mode which defines the behavior when swiping to reveal the primary action of the RevealableListItem.
Link copied to clipboard
* The gravity of where the RevealableListItem in relation to its sibling SwipeableListItem.

Properties

Link copied to clipboard
When swiping with a sibling SwipeableListItem, swipe directly to the primary action.
Link copied to clipboard
Disable the primary action.
Link copied to clipboard
When swiping with a sibling SwipeableListItem, allow swiping to intermediary states before the primary action.

Functions

Link copied to clipboard
abstract fun getIntrinsicWidth(): Int
Returns the intrinsic width of the RevealableListItem.
Link copied to clipboard
Returns the PrimaryActionSwipeMode for the RevealableListItem that defines the swipe to primary action behavior when swiping with a sibling SwipeableListItem.
Link copied to clipboard
abstract fun setPrimaryActionSwipeMode(swipeToPrimaryActionMode: Int)
Sets the PrimaryActionSwipeMode for the RevealableListItem that defines the swipe to primary action behavior when swiping with a sibling SwipeableListItem.
Link copied to clipboard
abstract fun setRevealedWidth(@Px revealedWidth: Int)
Sets the revealed width of RevealableListItem, in pixels.