FORUMS

ListView issues

216 posts
Thanks Meter: 25
 
Post Reply Subscribe to Thread Email Thread
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...

Thanks
 
 
22nd January 2014, 06:23 PM |#2  
Member
Thanks Meter: 21
 
More
Just set an onItemClickedListener and watch, which item is clicked. Then start the different operations.
22nd January 2014, 07:53 PM |#3  
EatHeat's Avatar
Recognized Developer
Flag Calcutta
Thanks Meter: 1,461
 
More
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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes