venkat venkat -5 years ago 194
Android Question

How to get names from database to my dropdown list in android?

I have one dropdown when i click dropdown option then it will hit database and retrieve the data to my another dropdown list. For ex i have one drop down list with class names as options when i click on class name it will retrieve that class students names into another dropdown list from database. after send those details to the database when click on submit button?

Answer Source

i used to implement code based on this example for populating spinner based in another spinner selection

and for populating spinner from sqlite database i used this sample...please check this link

my problem is resolved

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download