Fixed
Status Update
Comments
lp...@google.com <lp...@google.com>
il...@google.com <il...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
il...@google.com <il...@google.com>
il...@google.com <il...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
Description
Version used: 1.1.0-alpha01, 1.1.0-alpha02, 1.1.0-alpha03
Working in: 1.0.0
When a DialogFragment is dismissed by configuration change (i.e rotation), it seems to no longer have access to FragmentManager, and hence its target Fragment.
Attached sample project. To reproduce, rotate the device and it should crash with a null pointer exception as fragment manager is null. Change Fragment dependency to 1.0.0 in build.gradle and then it works fine.