media/demos/session/src/main
tonihei 6b782d1011 Replace MediaItemFiller by asynchronous callback.
The MediaItemFiller is not flexible enough for most realworld usages
because:
 - it doesn't allow asynchronous resolution of MediaItems (e.g. to
   look up URIs from a database)
 - it doesn't allow to batch updates for multiple items or do more
   advanced customizations (e.g. expanding a mediaId representing
   a playlist to multiple items).

Both issues can be solved by passing in a list of items and
returning a ListenableFuture. The callback itself can also move
into MediaSession.Callback for consistency with the other
callbacks.

PiperOrigin-RevId: 451857319
2022-05-30 16:48:41 +00:00
..
assets Fix typo 2022-01-25 17:48:24 +00:00
java/androidx/media3/demo/session Replace MediaItemFiller by asynchronous callback. 2022-05-30 16:48:41 +00:00
res Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
AndroidManifest.xml MediaSessionService: define foregroundServiceType 2022-05-10 17:49:22 +01:00