SortAppInfoViewDataTask

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

This task takes a list of {@link AppInfoViewData} as input and returns a new list containing the same elements, sorted according to the provided {@link Comparator}.

If no comparator is provided, the original order of the list is preserved.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open operator override fun invoke(input: List<AppInfoViewData>): List<AppInfoViewData>
operator fun invoke(input: List<AppInfoViewData>, comparator: Comparator<ViewData>?): List<AppInfoViewData>