I am using Media App Architecture as a guide for building a music player app. But it uses the classes from support media-compat / Androidx Media.
But now AndroidX Media2 is available in stable channels and I don't see any word of it. What is it?
- is AndroidX Media2 supposed to deprecate AndroidX Media?
- is there a developer guide or other sources of documentation for AndroidX Media2?
Please, no links to JavaDoc, thanks.
All the documentation I was able to find was useless and outdated. androidx.media and the appcompat media libraries are both superseded by androidx.media2 (but not deprecated for some reason). The most high-level API for media apps appears to be MediaLibraryService for the service and MediaBrowser for the frontend. Just make absolutely sure you declare the right intent filters on the service (which are in the javadoc :P)