[android-developers] ViewPager problem on SlidingPaneLayout
In my app, I need to put a ViewPager on SlidingPaneLayout, but the ViewPager doesn't scroll.
-- I found someone's solution at http://stackoverflow.com/questions/17490899/using-androids-slidingpanelayout-with-viewpager
It solves the scroll problem. But, if I set onclick listener to the views on the ViewPager, click event is always triggered even if I swipe on it. So, when I swipe on the ViewPager, I received the click event and the ViewPager didn't scroll.
I tried to set onclicklistener to the ViewPager itself, but the click event is never triggered.
Does anyone had this problem before and got a solution?
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home