https://kotlinlang.org logo
#compose
Title
# compose
s

Shakil Karim

01/23/2021, 10:05 PM
Does using ViewPager as an AndroidView in Compose only app is a good approach for now? Or it can be easily done in Compose?
a

Adam Powell

01/23/2021, 10:08 PM
it can be done in compose without too much trouble. I think one of the official samples has one in a couple hundred lines of code
maybe more like 100-150, I forget
s

Shakil Karim

01/23/2021, 10:11 PM
Yup, I tried that, but I have to use it with a list backed by Paging, and also snaping animation is also quite different from ViewPager.
7 Views