Hi All, what will be the best approach to build a ...
# compose
d
Hi All, what will be the best approach to build a similar UI shown in the video below. I'm confused if i should write a custom ViewPager, or I should use Navigation in compose to build this. Or there is something else which can be used
๐Ÿ‘‹ 2
m
I think you can reuse the same composable with different inputs to fetch the items. Just put these inputs in the navigation route (if you're using jetpack navigation). Anyway the Jetpack Navigation library doesn't support transitions yet
i
This type of transition is definitely something that we want to support though ๐Ÿ™‚ cc @Doris Liu who was looking for more examples of transitions
โค๏ธ 5
d
Thanks for sharing! Slide/expand/shrink from different directions + fade is something we definitely want to support in the navigation. ๐Ÿ™‚
blob smile happy 3
d
@Doris Liu any rough timeline that you have in mind for this
f
Probably 1.0 release @Deepak Gahlot Thread: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1615499479468000
d
๐Ÿ‘๐Ÿผ
d
I'm working on this right now. ๐Ÿ™‚ There are a few challenges and some lower level support in the
Transition
implementation that needs to be built to support observing the status of the screen change. On the navigation side, there's quite some work to be done as well, some of which is dependent on the animation work. We are planning on having both by 1.0. I'm hoping we can get the animation functionalities out as soon as it's ready, as experiemental apis, to get early feedback. So that'll likely happen sooner.
๐Ÿ™Œ๐Ÿป 1
๐Ÿ™Œ 11