Optionally suppress support library classes
See original GitHub issueWhen using AndroidX the old support library classes are essentially fake news. Could we suppress them with an optional toggle? To do this reliably the app might download and parse androidx-class-mapping.csv from https://developer.android.com/topic/libraries/support-library/refactor.
Alternatively the search results could be presented in a fancier consolidated format where the three classes are collapsed together with separate affordances for platform, support, and AndroidX. It may not be feasible to collapse platform classes without a canonical mapping between those and support / AndroidX.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Java (Android) library project - How to design optional modules?
Solution-2 To avoid reflection mentioned in solution-1, create two versions of optional libraries. First with full implementation and second ...
Read more >contextlib — Utilities for with-statement contexts ... - Python Docs
An abstract base class for classes that implement object. ... While many objects natively support use in with statements, sometimes a resource needs...
Read more >Maven – Optional Dependencies and Dependency Exclusions
Optional dependencies save space and memory. They prevent problematic jars that violate a license agreement or cause classpath issues from being bundled into...
Read more >Recent Support Library Revisions - Android Developers
This page provides details about the most recent Support Library package releases. For earlier releases, see the Support Library Revisions Archive.
Read more >Remove (or make optional) MIPS native library #3504 - GitHub
Maybe there is a way, to make MIPS support optional on library level? I don't know much about native libraries on Android, but...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have removed them from the next version. Let’s see if anyone complains 😀 .
I’m not a big fan of options. Let me ask around and see how long we plan to return them in the search results. I’d rather see the docs updated so that the androidx versions point to the dejetified versions but they don’t show up in search results.