Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Restore old BackstackReader.isInBackstack() implementation once AndroidX Fragment 1.2.1 is released #206

Open
lukaszkalnik opened this issue Jan 28, 2020 · 1 comment

Comments

@lukaszkalnik
Copy link
Contributor

lukaszkalnik commented Jan 28, 2020

There is a bug in AndroidX Fragment 1.2.0 which crashes the app when changing orientation in fragments or when switching fragments. This is because of our BackstackReader.isInBackstack() hacky implementation.
sockeqwe/mosby#318 (comment)

A temporary workaround has been implemented for this bug here:
#205
However, the workaround uses reflection so our previous hack for this problem has to be restored once AndroidX Fragment 1.2.1 gets released (this release will fix the current bug):
https://issuetracker.google.com/issues/148189412

@wietsebuseyne
Copy link

wietsebuseyne commented Mar 13, 2020

androidx:fragment 1.2.2 is out, so the old implementation should work again :-)
Thank you for your work BTW

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants