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 /sdcard/PDF
3 Birds Aves HummingBird /sdcard/video
I should have a list view with Animals and Birds , clicking on Animals shows me Cat, while Bird shows me Aves. Then so on until the content – which has to be played depending on the type. Now this can be achieved by creating a lot of Activities say for Animals level – pass level_1 for Activity_2 and so on and get the list views. But in my case the levels may not be fixed – there might be a level_4 coming in where there is content – so the activity creation has to be dynamic and cannot be static – how can this be achieved ?
Implemented by modifying the base adapter to include multiple levels.