Join Slack
Communities
Powered by
Any ideas on how to achieve this 3d carousel layou...
# compose
l
Lucas
10/25/2022, 10:26 PM
Any ideas on how to achieve this 3d carousel layout?
Lucas
10/25/2022, 10:26 PM
No need for the transparent effect, just the circular carousel
c
Colton Idle
10/25/2022, 10:30 PM
this is kinda what you want. but i guess its not what you want. but maybe its helpful. lol
https://google.github.io/accompanist/pager/transition_demo.mp4
https://github.com/google/accompanist/blob/main/sample/src/main/java/com/google/accompanist/sample/pager/HorizontalPagerTransitionSample.kt
l
Lucas
10/25/2022, 10:38 PM
Found this
https://fvilarino.medium.com/implementing-a-circular-carousel-in-jetpack-compose-cc46f2733ca7
f
Francesc
10/26/2022, 4:23 PM
yes, just rotate 90 degrees that and make the cards fill the width and you should be good
l
Lucas
10/26/2022, 7:50 PM
Thanks for the post
@Francesc
, very useful
Lucas
10/26/2022, 7:50 PM
Found a bug on the implementation tho, if you rotate it long enough, the card rotation gets messed up a bit
Lucas
10/26/2022, 7:50 PM
Other than that, it works very well
f
Francesc
10/26/2022, 7:53 PM
thanks for the heads-up, I'll check it out
364
Views
Open in Slack
Previous
Next