Class

ToggleableState

Enum that represents possible toggleable states.

Source set: Common
public enum class ToggleableState {
    /** State that means a component is on */
    On,
    /** State that means a component is off */
    Off,
    /** State that means that on/off value of a component cannot be determined */
    Indeterminate,
}

Enum that represents possible toggleable states.

Members

On

Source set: Common
On

State that means a component is on

Off

Source set: Common
Off

State that means a component is off

Indeterminate

Source set: Common
Indeterminate

State that means that on/off value of a component cannot be determined

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: