I'm trying to fling a view object (e.g an image) from left to right. First I used Gallery with a custom adapter. Then I tried ViewPager. I couldn't decide which one has a better performance. I guess ViewPager is better. By the way, I read about viewanimator, but could not understand whether it can be used for same purpose. Does it also provide some animation during fling?
Which one do you suggest?
Also i'm looking for "something" that shows the index of the flinging object with dots below. Clicking the dot, shows the relevant object. Are there any ready widget for this purpose?
Thanks a lot,
Try using HorizontalPager for that, it uses a GroupView and implements all the things you need. It also has an example of the dot thing you want.
Here's the link: https://github.com/ysamlan/horizontalpager