Populating A List View From Another List View
I need to achieve this: I have a sqlite table with this data slno Type Level_1 Level_2 Level_3 1 Animals Cat Null /sdcard/Video 2 Animals Cat Null
Solution 1:
No need to create lots of activity.If understand your problem completely then i will suggest you go for Expandable List View like in image
This link has best tutorial for this design Go through it
Solution 2:
Just Use only One activity, and Set this Activity's Data Source on calling activity, like
intent.putExtra("KEY", DataSource);
in onCreate() method get this DataSource from intent, like
intent.getParcelableList("KEY");
and start this activity only with new data source, or play the file according to the level.
Solution 3:
Implemented by modifying the base adapter to include multiple levels.
Post a Comment for "Populating A List View From Another List View"