Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Yigit, do you have time to fix it?
reemission of the same liveData is racy
reemission of the same liveData is racy
an...@google.com <an...@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: 1.2.0-rc05
When called on a view within a fragment added with a <fragment> tag in a layout, FragmentManager.findFragment(view) returns either the containing fragment's parent, or crashes as it can not find any parent fragment.
I've attached a sample project which crashes on startup due to the bug. Replacing the <fragment> tag with FragmentContainerView or a framelayout with a manual transaction avoids the crash