Status Update
Comments
cl...@google.com <cl...@google.com>
ni...@google.com <ni...@google.com> #2
As a general note, what you're checking makes little sense - onAttachFragment
is called as fragments move through their lifecycle methods (specifically, right after onAttach()
is called on the fragment) and is therefore likely to be called while FragmentTransactions are being processed - if you have multiple commit()
s in flight, the state you get back in onAttachFragment
will certainly not be the final state the FragmentManager will be when all of the FragmentTransactions are executed, making this a bit of a meaningless check.
That being said, this is caused by the mechanism used to kick off transitions when reordering is not allowed, which is being reworked in
As a workaround, you can use setReorderingAllowed(true)
on your transaction, which will allow your example project to work correctly.
jl...@google.com <jl...@google.com> #3
This has been fixed internally and will be avilable in Fragment 1.3.0-alpha08.
Note: this fix relies on using the
ni...@google.com <ni...@google.com> #4
Oh interesting,
[Deleted User] <[Deleted User]> #6
Thanks
Description
compose-ui
triggers a security alert as it imports inspector.jar which containsprotobuf-javalite:3.19.4
. Please upgrade the version ofprotobuf-javalite
to at least 3.19.6.Jetpack Compose version: 1.3.0
Jetpack Compose component(s) used: compose-ui
Steps to Reproduce or Code Sample to Reproduce:
Stack trace (if applicable):