Does using ViewPager as an AndroidView in Compose ...
# compose
s
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
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
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.