AppPickerState

Interface for managing the view state of an app picker.

This interface defines methods for getting and setting the state of individual apps, as well as setting the state of all apps at once. It also provides a way to listen for changes to the state of the app picker.

Inheritors

Types

Link copied to clipboard

Interface for listening to state changes in the AppPicker.

Functions

Link copied to clipboard
abstract fun getState(appInfo: AppInfo): Boolean

Retrieves the current selection state of the specified application.

Link copied to clipboard

Sets the listener to be notified when the state of an app or all apps changes.

Link copied to clipboard
abstract fun setState(appInfo: AppInfo, isSelected: Boolean)

Sets the selection state of a specific application.

Link copied to clipboard
abstract fun setStateAll(isAllSelected: Boolean)

Sets the selection state of all applications in the app picker.