|
YAACC - UPNP Client and Server
|
The client-side sort of a fully loaded folder (issue #252), kept free of the adapter so it can run on a worker thread: it never touches the list it is given, it returns a sorted copy. More...

Classes | |
| class | Result |
| The sorted copy and what changed against the input. | |
Static Public Member Functions | |
| static Result | sort (List<? extends DIDLObject > input, BrowseContentItemAdapter.SortMode mode, boolean nameAscending, boolean dateAscending) |
| static boolean | hasDate (DIDLObject object) |
The client-side sort of a fully loaded folder (issue #252), kept free of the adapter so it can run on a worker thread: it never touches the list it is given, it returns a sorted copy.
No Android classes.
The orderings are the former comparators of BrowseContentItemAdapter, unchanged:
dc:date; a missing or unparseable date sorts last in either direction. Both sorts are stable, like List#sort.