AppPickerView

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)

Types

Link copied to clipboard
open class AppLabelInfo
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface OnBindListener
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val ALL_APPS_STRING: String = "all_apps"
Link copied to clipboard
val KEY_APP_SEPARATOR: String = "app_picker_separator"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ORDER_NONE: Int = 0
Link copied to clipboard
val TYPE_GRID: Int = 7
Link copied to clipboard
Link copied to clipboard
val TYPE_LIST: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addPackage(position: Int, label: String)
Link copied to clipboard
open fun addSeparator(position: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAppLabelOrder(): Int
Link copied to clipboard
Link copied to clipboard
open fun getType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun refresh()
Link copied to clipboard
open fun refreshUI()
open fun refreshUI(position: Int)
Link copied to clipboard
open fun resetComponentName(@NonNull activityNamesList: List<ComponentName>)
open fun resetComponentName(@Nullable activityNamesList: List<ComponentName>, @Nullable labelInfoList: List<AppPickerView.AppLabelInfo>)
Link copied to clipboard
open fun resetPackages(@NonNull packageNamesList: List<String>)
open fun resetPackages(@NonNull packageNamesList: List<String>, @Nullable labelInfoList: List<AppPickerView.AppLabelInfo>)
Link copied to clipboard
open fun setAppLabelOrder(order: Int)
Link copied to clipboard
open fun setAppPickerView(type: Int)
open fun setAppPickerView(type: Int, order: Int)
open fun setAppPickerView(type: Int, @Nullable packageNamesList: List<String>)
open fun setAppPickerView(@Nullable activityNamesList: List<ComponentName>, type: Int)
open fun setAppPickerView(type: Int, order: Int, showDivider: Boolean)
open fun setAppPickerView(type: Int, order: Int, @Nullable activityNamesList: List<ComponentName>)
open fun setAppPickerView(type: Int, @Nullable packageNamesList: List<String>, order: Int)
open fun setAppPickerView(type: Int, @Nullable packageNamesList: List<String>, @Nullable labelInfoList: List<AppPickerView.AppLabelInfo>)
open fun setAppPickerView(type: Int, order: Int, @Nullable labelInfoList: List<AppPickerView.AppLabelInfo>, @Nullable activityNamesList: List<ComponentName>)
open fun setAppPickerView(type: Int, @Nullable packageNamesList: List<String>, order: Int, @Nullable labelInfoList: List<AppPickerView.AppLabelInfo>)
Link copied to clipboard
open fun setCustomAdapter(absAdapter: AbsAdapter)
Link copied to clipboard
Link copied to clipboard
open fun setGridSpanCount(spanCount: Int)
Link copied to clipboard
Link copied to clipboard