mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Having a default icon available allows apps to only specify the icon constant without having to define an icon drawable themselves as Media3 can fill in the icon resource for backwards compatibility. The switch util method allows R8 to easily remove unused icons, so having default icons won't affect APK size unless the constants are used to set up the CommandButtons. PiperOrigin-RevId: 614623909 |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle | ||
| README.md | ||
Demo MediaLibraryService implementation
A library module with a demo implementation of MediaLibraryService and
MediaLibrarySession.Callback.
See the PlaybackService of the session demo how to use
it. Override assets/cataglog.json by creating such a file in the same format
in your application module that the service will use.