sockeqwe / mosby

A Model-View-Presenter / Model-View-Intent library for modern Android apps
http://hannesdorfmann.com/mosby/
Apache License 2.0
5.49k stars 841 forks source link

Support android x #322

Closed guyca closed 5 years ago

guyca commented 5 years ago

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

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

sockeqwe commented 5 years ago

Thabks a lot! Will make a new release at the end of the week.

alexmetcalfe commented 5 years ago

Hey @sockeqwe any chance that a release can be cut soon?

sockeqwe commented 5 years ago

Working on it. I'm really sorry I couldn't publish it yet because of some gpg key issues on my new macbook. Hope to get it released soon