Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AndroidX #321

Closed
wants to merge 3 commits into from
Closed

Support AndroidX #321

wants to merge 3 commits into from

Conversation

guyca
Copy link
Contributor

@guyca guyca commented Oct 26, 2018

As of version 1.0 of AndroidX, fragment.isInBackStack() is package private
and attempting to use is leads to an IllegalAccessError exception.

This commit introduces a temporary workaround for this issue by
determining if the fragment is in the backstack from the information
returned by fragment.dump().

As of version 1.0 of AndroidX, fragment.isInBackStack() is package private
and attempting to use is leads to an IllegalAccessError exception.

This commit introduces a temporary workaround for this issue by
determining if the fragment is in the backstack from the information
returned by fragment.dump().
@guyca guyca closed this Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant