Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old February 27th, 2011, 04:23 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default ListActivity inside TabActivity

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


Advertisements
iliasht1 is offline  
Reply With Quote
sponsored links
Old February 28th, 2011, 05:08 PM   #2 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,931
 
Device(s): Moto360, GlassXE, MotoX, MotoX'14, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Carrier: TMO

Thanks: 4,611
Thanked 3,585 Times in 1,530 Posts
Default

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
alostpacket is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:22 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.