Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Please upgrade to Fragment 1.3.2 and include a sample project that reproduces your issue.
jb...@google.com <jb...@google.com> #3
I updated Fragment to 1.3.2, but I still get this crash.
an...@google.com <an...@google.com> #4
I can confirm it with Firebase Crashlytics, but I do not know the condition of occurrence yet, and there is no sample project yet.
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