Package-level declarations

Types

Link copied to clipboard
class AllAppsSelectableItem @JvmOverloads constructor(list: List<SelectableItem>, onUpdated: (isSelected: Boolean) -> Unit = { }) : SelectableItem, DisposableHandle, LogTag

Represents a selectable item that groups multiple SelectableItem instances. Its selection state reflects whether all underlying items are selected.

Link copied to clipboard
open class AppDataSelectableItem(val mutableState: AppDataSelectableItem.AppDataSelectedState, onUpdated: (isSelected: Boolean) -> Unit? = null) : SelectableItem

Represents a selectable item that holds AppInfoData.

Link copied to clipboard
class CategorySelectableItem @JvmOverloads constructor(selectableItemList: List<SelectableItem>, onUpdated: (isSelected: Boolean) -> Unit = { }) : SelectableItem, DisposableHandle

Represents a selectable item that acts as a category for a list of other selectable items.

Link copied to clipboard
open class SelectableItem(mutableState: MutableState<Boolean>, onUpdated: (Boolean) -> Unit? = null) : ObservableProperty<Boolean>

Represents an item that can be selected or deselected. This class extends {@link ObservableProperty} to provide observable behavior for its selection state.

Link copied to clipboard

Manages the state of selectable items in a list, including individual items, category-level selections, and an "all apps" selection. It provides methods to create and manage these selectable items, handle selection events, and update their states.