We have a requirement for sycing rotating wheel with sliding images. I have used ViewPager for it but after 360 degree rotation
I have to start scrolling ViewPager from X = 0. Is there any ViewPager which starts from first page after scrolled to last position?
I use setScrollX for scrolling ViewPager which also introduce glitches in rotating animation.
Forget about
ViewPagerit's expensive, views is everything. You need three inflated views let's sayv1,v2,v3I work with your provide git sample project, replace your
HorizontalPagingwith xmland add code to your
onCreateanimation is achieved, working fine.
You need to improve this and bind data with your custom views and create one separate manage class. I put my time into this. you know :)