createCategorySelectableItem
fun createCategorySelectableItem(appData: CategoryAppData, selectableItemList: List<SelectableItem>): CategorySelectableItem(source)
Creates a CategorySelectableItem for the given appData and selectableItemList.
If a CategorySelectableItem already exists for the given appData, it will be disposed and a new one will be created. The created CategorySelectableItem will be stored in the categorySelectableItemMap and returned.
When the created CategorySelectableItem is selected or deselected, the OnSelectListener.onItemSelected method will be called with the appData's AppInfo and the new selected state.
Return
The created CategorySelectableItem.
Parameters
appData
The CategoryAppData to create the CategorySelectableItem for.
selectableItemList
The list of SelectableItems that belong to this category.