shared-element-transitions icon indicating copy to clipboard operation
shared-element-transitions copied to clipboard

postponeEnterTransition() does not work in "Picasso Fragment to Fragment" sample.

Open aartikov opened this issue 8 years ago • 5 comments

Calling of a method postponeEnterTransition() has no effect. To check it remove startPostponedEnterTransition() calls in a Picasso callback. A transition will be still plays, but it should not. Documentation says: "Likewise, postponement only works if FragmentTransaction optimizations are enabled." So, to fix the sample call setAllowOptimization(true) of a FragmentTransaction.

aartikov avatar Apr 21 '17 09:04 aartikov

@aartikov Do you want to make a PR?

Rainer-Lang avatar Jul 07 '17 08:07 Rainer-Lang

@Rainer-Lang No, i don't. It is looks like that this repository is abandoned.

aartikov avatar Jul 07 '17 08:07 aartikov

@aartikov It's not abandoned, I'm just pretty busy at the moment. Feel free to make a PR.

mikescamell avatar Jul 07 '17 10:07 mikescamell

@mikescamell done #11

aartikov avatar Jul 07 '17 11:07 aartikov

@aartikov I'm going to need to look into this more as turning the optimisation on has an effect on the Shared Element Transitions.

mikescamell avatar Jul 07 '17 18:07 mikescamell