AppDataSelectableItem

constructor(appInfoData: AppInfoData, onUpdated: (isSelected: Boolean) -> Unit)(source)


constructor(mutableState: AppDataSelectableItem.AppDataSelectedState, onUpdated: (isSelected: Boolean) -> Unit? = null)(source)

Parameters

mutableState

The AppDataSelectedState that manages the selection state of the item.

onUpdated

A lambda function that is invoked when the selection state of the item changes. It receives a Boolean indicating whether the item is now selected. Defaults to null if no specific action is needed on update.