addSelectedItem

Adds an app to the selected items list.

If the app is already selected, this method does nothing. Otherwise, it retrieves the app's data and adds it to the selected items. If the app belongs to a category and the category is selected, the category itself is added.

Parameters

appInfo

The AppInfo of the app to add.