ListActivity inside TabActivity

  • Replies:1
  • OpenNot stickiedUnanswered

Feb 27, 2011 11:22:00 PM via Website

Please help to solve this problem. I use implementation of OnGestureListener in TabActivity with overriding of method onFling for switching between tabs. But that doesn't work when one of my tabs is ListActivity.
I want to develop something like this

Mar 1, 2011 3:48:47 AM via Website

Your list activity must be intercepting the "Fling gesture" before the tab activity gets it. Since the "fling" gesture is probably used for list views it never makes it to the tab view. You could try overriding the OnFling method of the list view and switching the tabs there, but then how would they scroll through your list?