Package-level declarations

Types

Link copied to clipboard
class AddAllAppsTask(createAllAppsViewData: (appInfoViewDataList: List<AppInfoViewData>) -> AllAppsViewData) : Task<List<ViewData>, List<ViewData>>

This task prepends an AllAppsViewData instance to the provided input list. The AllAppsViewData is created using the provided createAllAppsViewData function, which takes a list of all AppInfoViewData instances found in the input list.

Link copied to clipboard

Converts a list of AppInfoData into a list of AppInfoViewData by either creating new AppInfoViewData or updating existing ones using a cache to preserve existing object identities keyed with the AppInfo.

Link copied to clipboard

A task that limits the number of selectable items.

Link copied to clipboard
class ParseAppDataTask(createAppInfoViewDatas: (appInfoDataList: List<AppInfoData>) -> List<AppInfoViewData>, createGroupTitleViewData: (groupAppData: GroupAppData) -> GroupTitleViewData, createCategoryViewData: (catAppData: CategoryAppData, appInfoViewDataList: List<AppInfoViewData>) -> CategoryViewData) : Task<List<AppData>, List<ViewData>>

This function takes a list of different types of AppData objects and transforms it into a list of concrete ViewData objects.

Link copied to clipboard

A task that ensures only one item can be selected at a time from a list of ViewData.

Link copied to clipboard

Task to sort a list of {@link AppInfoViewData} objects.

Link copied to clipboard
interface Task<T, U>

An interface for converting a type to another type.