SelectStateLoader
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.
This class is intended for internal library use only.
Types
Interface for listening to selection state changes.
Functions
Creates an AllAppsSelectableItem from the given list of SelectableItem and sets the selection listener.
Creates a CategorySelectableItem for the given appData and selectableItemList.
Creates a {@link SelectableItem} for the given {@link AppInfoData}.
Sets the listener to be notified when an item's selection state changes.
Sets the selection state for all items in the given list of ViewData.
Updates the list of SelectableItems associated with the "all apps" selectable item.