Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@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.
Description
Version used: 1.0.0-alpha01
When passing arguments using "[Class]Args.fromBundle" arguments from a URL aren't being URL decoded, meaning that arguments like "John%20Jones" must be URLDecoded afterwards --- which is confusing if the same argument is also being used to pass around values within the applicat