I want to know if I have any way to transition the...
# compose
c
I want to know if I have any way to transition the screen content on the left to the right in an elegant way? To this end, I wrote a lot of code to try, it made my code area very bad, I have already planned to give up the transition animation😔(which means it can not be as cool as I thought). Unfortunately, I tried for a whole day but didn’t get a solution. I really hope that the
navigation-transition
will appear soon.
And I have tried the excellent library: https://github.com/mxalbert1996/compose-shared-elements, but the result is not satisfactory to me😫
i
As per the previous conversation on shared elements, they aren't supported as of yet: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1615505407475200?thread_ts=1615499479.468000&cid=CJLTWPH7S
c
@Ian Lake It sounds regrettable, but I hope it will appear because it is really important. But due to time reasons, I may temporarily transition them through some simple fade, offset animations. Anyway, thank you for your work
z
c
@Zach Klippenstein (he/him) [MOD] You are right, but this library has been stuck for a long time
m
Well, it was just an experiment, because there will be a proper solution for that soon I hope 🙂 But I see that someone got inspired by my (mobnetic) code
👍 1
c
@maciejciemiega Anyway, thank you for the great code.😉
m
No problem. It was really fun to explore possibilities in this area 🙂