CategoryAppData

data class CategoryAppData @JvmOverloads constructor(val appInfo: AppInfo, var icon: Drawable? = null, var label: String = "", val appInfoDataList: List<AppInfoData> = emptyList()) : AppData(source)

Represents a category or group of applications.

This class extends AppData and holds information specific to a category, including its icon, label, and a list of AppInfoData objects representing the applications within that category.

Constructors

Link copied to clipboard
constructor(packageName: String, activityName: String, user: Int = 0)
constructor(appInfo: AppInfo, icon: Drawable? = null, label: String = "", appInfoDataList: List<AppInfoData> = emptyList())

Properties

Link copied to clipboard
open override val appInfo: AppInfo

The AppInfo for the category itself.

Link copied to clipboard

A list of AppInfoData objects, each representing an application within this category.

Link copied to clipboard

The drawable icon for the category.

Link copied to clipboard

The display name of the category.

Link copied to clipboard