question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optionally suppress support library classes

See original GitHub issue

When 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:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
JakeWhartoncommented, Feb 27, 2019

I have removed them from the next version. Let’s see if anyone complains 😀 .

1reaction
JakeWhartoncommented, Jul 13, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found