|
YAACC - UPNP Client and Server
|
Plain-Java decisions of the mini-player list: which rows exist in which order, and the key of a row's album art. More...

Static Public Member Functions | |
| static List< PlayerRef > | order (List< PlayerRef > players) |
The rows of the mini-player in the device sheet's session order: creation sequence ascending (oldest first), equal sequences by player id (see DeviceSessionGrouper), so the result never depends on input order. | |
| static String | artKey (int playerId, String artUri) |
| The identity of what a row shows as album art: the player id and the art URI (null for no art) and nothing else. | |
Plain-Java decisions of the mini-player list: which rows exist in which order, and the key of a row's album art.
No Android types, JVM-testable.
|
static |
The identity of what a row shows as album art: the player id and the art URI (null for no art) and nothing else.
In particular it does not depend on Player#getIcon(), which can queue a download of its own on every call; see MiniPlayerArtKeys.
|
static |
The rows of the mini-player in the device sheet's session order: creation sequence ascending (oldest first), equal sequences by player id (see DeviceSessionGrouper), so the result never depends on input order.
Null entries are skipped, a null or unknown deviceId is fine, and of two entries with the same player id only the first one in that order is kept (a RecyclerView with stable ids must never see an id twice). Returns a new list; players is not modified and may be null.