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

java.lang.IllegalAccessError: Method 'boolean androidx.fragment.app.Fragment.isInBackStack()' is inaccessible to class 'androidx.core.app.BackstackAccessor' #336

Open dharmesh8080 opened 4 years ago

dharmesh8080 commented 4 years ago

Need help to solve this error

java.lang.IllegalAccessError: Method 'boolean androidx.fragment.app.Fragment.isInBackStack()' is inaccessible to class 'androidx.core.app.BackstackAccessor'

I read on release to use BackstackAccessor.isFragmentOnBackStack(Fragment()).

where should I use this line of code?

sockeqwe commented 4 years ago

Unfortunately this is an unsolved issue for now. Mosby 3.x doesn't work with androidx.

See #318