lundi 19 octobre 2015

Fetch Firstcolum based on Second Column in Listview

After Learning So Many Tutorials and question from Stoackoverflow i am doing my First Android App..

Now i am Doing Fetching Databases From Sqlite..and i am sucessfully fetched my First Column in Listview now i want to fetch my second Column based on the selection of first column listview to a another new listview...how can we do it

example:

|Disease-----|Medicine---|
|------------|-----------|
|one---------|Med1-------|
|two---------|Med2-------|
|three-------|Med3-------|
|four--------|Med4-------|

i display One,Two,Three,Four in a New Listview and now i created my second class and second layout and i place a new Listview in second Layout

When i click One in first listview the second listview will Display Med1 and simulately it continues for others how can we Do it plz Help This is What i am Saying

Aucun commentaire:

Enregistrer un commentaire