I want to populate the Expandable Listview from the data stored in the sqlite database.
my Table is
id int pk
name varchar
mobile varchare
age int
and I want to display name and when I click on that name it will show the mobile and age in expand list.
I did not get any idea, about it. If you have any solution then please help. And all answers of previous questions like this were not useful. So I am asking this question again.
I did not understand actually how to do this.
HashMap is solution for this. You have to create ArrayList with Generic class (name, age).
For Example :