Fixed
Status Update
Comments
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.
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
il...@google.com <il...@google.com> #4
This is fixed internally and will be available in Fragments 1.0.0-alpha06
jb...@google.com <jb...@google.com> #5
To clarify, this is Fragments 1.1.0-alpha06
Description
Version used: 28.0.0
Given a back stack of:
A -> B (primary)
When doing a 'singleTop' style operation consisting of popping Fragment B then calling replace(), the primary navigation Fragment is correct:
A -> B2 (primary)
However, if you then proceed to call popBackStack(), the primary navigation Fragment is null, not A:
A, primary = null