Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,055 Members 48,798 Now Online
XDA Developers Android and Mobile Development Forum

ListView issues

Tip us?
coolbud012's Avatar
Senior Member - OP
Thanks Meter 24
Posts: 202
Join Date: Sep 2012
Location: Bangalore
Default ListView issues

Hey guys I need help.

I know how to create a listview but where I'm struck and confused is,

1.) Like when we click on 1st item of the listview another activity with another list view comes up and when we click on any of the item from that list view then a resource xml file with a table comes up.

2.) When I click on the second item of the LV an image is displayed.

3.) When I click on the 3rd item another list view comes up and then if click any of the item an image comes up.

I just tried to explain my problem. There are around 10-12 items in each list. So I am not getting what exactly to do.

I tried to make simple listview but now not getting how to modify it to match my needs...


Aptitude Cracker - An Application for all Competitive Exams and all In One Aptitude Preparation
DroidAcid - Get all android tutorials and Micromax CanvasHD A116 guides.
Thanks Meter 21
Posts: 88
Join Date: Sep 2013
Just set an onItemClickedListener and watch, which item is clicked. Then start the different operations.
EatHeat's Avatar
Recognized Developer
Thanks Meter 1,410
Posts: 913
Join Date: Jan 2013
Location: Calcutta
If the ListView does not change dynamically, it would be better to use a PreferenceActivity or a PreferenceFragment. It would be far easier to do what you wanted with this.
Customize your clock.

[2.2+]SnowBowl HD.
Enjoy the vacations!

Thread Tools
Display Modes