[android-developers] Re: ViewPager in a ListView - how to lock the scrolling axis?

2012-06-29 Thread DayDreamer
*Hi Zsombor*, What a coincidence, I'm attempting to do just the same. Have you been able to improve the performance with some kind of holder for the viewpagers? Could you share your code with me by any chance? It would be great because i'm trying to do the same with galleries and it's a huge

[android-developers] Re: ViewPager in a ListView - how to lock the scrolling axis?

2011-11-02 Thread Zsombor
Found a solution by overriding the onInterceptTouchEvent() of ListView, here it goes: ... @Override public boolean onInterceptTouchEvent(MotionEvent ev) { //Call super first because it does some hidden motion event handling boolean result =

[android-developers] Re: ViewPager in a ListView - how to lock the scrolling axis?

2011-10-26 Thread skink
On Oct 26, 11:25 am, Zsombor scythe...@gmail.com wrote: I have a ViewPager widget in every row of a ListView. This provides a shelf-like UI, so the user can scroll around searching for a shelf vertically, and then scroll horizontally amongst the contents of a shelf. This works. But the