Source set: Android
public enum class SwipeToDismissKeys {
/**
* The default background key to identify the content displayed by the content block when
* isBackground == true. Specifying a background key instead of using the default allows
* remembered state to be correctly moved between background and foreground.
*/
Background,
/**
* The default content key to identify the content displayed by the content block when
* isBackground == false. Specifying a background key instead of using the default allows
* remembered state to be correctly moved between background and foreground.
*/
Content,
}
Keys used to persistent state in BasicSwipeToDismissBox.
Members
Background
Source set: Android
Background
The default background key to identify the content displayed by the content block when isBackground == true. Specifying a background key instead of using the default allows remembered state to be correctly moved between background and foreground.
Content
Source set: Android
Content
The default content key to identify the content displayed by the content block when isBackground == false. Specifying a background key instead of using the default allows remembered state to be correctly moved between background and foreground.