CheckStateManager

Manages the state of checked (selected) apps.

This class keeps track of two types of checked items:

  • Fixed items: These are items that are always considered checked and cannot be unchecked by the user through the UI (e.g., dimmed items).

  • Checked items: These are items that the user has selected.

It provides methods to add, remove, and query the state of checked apps.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val logTag: String

Functions

Link copied to clipboard
fun add(appInfoData: AppInfoData)
Link copied to clipboard
fun addFixedItem(appInfoData: AppInfoData)
Link copied to clipboard
fun clear()
Link copied to clipboard
fun exist(appInfo: AppInfo): Boolean
Link copied to clipboard
fun get(appInfo: AppInfo): AppInfoData?
Link copied to clipboard
Link copied to clipboard
fun remove(appInfo: AppInfo)
Link copied to clipboard
fun size(): Int