Fixed
Status Update
Comments
qu...@gmail.com <qu...@gmail.com> #2
Yigit, do you have time to fix it?
reemission of the same liveData is racy
reemission of the same liveData is racy
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #3
yea i'll take it.
il...@google.com <il...@google.com> #4
Thanks for the detailed analysis. This may not be an issue anymore since we've started using Main.immediate there but I' not sure; I'll try to create a test case.
Description
Version used: androidx.appcompat:appcompat:1.0.2
Devices/Android versions reproduced on:
I have tested the following scenario from
If this is a bug in the library, we would appreciate if you could attach:
- Here is the link to the GitHub for the sample Project:
So to add context to the Project. The Sample project has an Activity which inflates a ParentFragment. The ParentFragment the inflates a ChildFragment. The ChildFragment has a setHasOptionsMenu(true) and inflates a Menu "Edit".
Now when the back button is pressed, the ParentFragment is pooped out but the Menu inflated by the ChildFragment ("Edit") remains.
- Attached are some screenshots.