I implemented a ViewPager inside my app (according to this recent blog entry: http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html).
One of my views inside my ViewPager is a ListView with a gallery as its header view. (Looks pretty much like the early version of the Android market back in 2008).
However, the gallery is not scrollable now. Instead of wiping through the images in my gallery I’m scrolling through the different views inside the ViewPager.
I need a workaround to fix this. Any hints?
Thanks in advance
So… just to get this right… you are saying you are putting a gallery view inside of a list view inside of a view pager.
Is that right?
Seriously, um, don’t do that. :}
Anyway the problem you have is that the ViewPager watches for vertical movements to swipe between the pages. It is taking the vertical movements, so you can’t do vertical movements in the gallery to swipe in it.