1. Check out our companion app, Forums for Android! Download from Google Play

ListActivity inside TabActivity

Discussion in 'Application Development' started by iliasht1, Feb 27, 2011.

  1. iliasht1

    iliasht1 New Member
    Thread Starter
    5

    Feb 27, 2011
    1
    0
    5
    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

    [​IMG]
     

    Advertisement

  2. alostpacket

    alostpacket Over Macho Grande?
    513

    Nov 29, 2009
    7,978
    3,606
    513
    Android App Developer
    NY
    ListActivity should have a getView() or getListView() method, (if I remember correctly), that will return the ListView used by the ListActivity.


    This is just a guess but I think you'll need to get the ListView and override its onTouch/gesture/fling etc methods
     

Share This Page

Loading...