SubscriptionMode

Subscription mode of the UI element with a dedicated lifecycle. An implementation of the SubscriberLifecycle must follow the contract outlined for each mode.

Entries

Link copied to clipboard

Subscribe using a composable function's lifecycle without considering if the UI is fully or partially visible.

Link copied to clipboard

Subscribe when the UI is visible, but may be covered by other elements such as Dialogs, modals, pop-ups etc. Should unsubscribe when the composable may still be alive but is no longer fully or partially visible.

Link copied to clipboard

Subscribe when the UI is fully visible and is not fully or partially covered by anything.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.