getLabel

open override fun getLabel(key: AppInfo): String(source)

Gets the label for the given AppInfo key.

If the label is not found in the cached map, it fetches the label using PackageManagerHelper.getAppLabel and stores it in the map for future use.

Return

The label string for the given AppInfo.

Parameters

key

The AppInfo for which to retrieve the label.