here is my code for spinner with dropdownlist:

Posted by user555910 on Stack Overflow See other posts from Stack Overflow or by user555910
Published on 2010-12-30T06:49:30Z Indexed on 2010/12/30 6:54 UTC
Read the original article Hit count: 201

Filed under:
|
|
|

I have spinner in my application .The spinner have drop down list.I want to take the value of the dropdown list from the database .how can i do this ?

here is my code for spinner with dropdownlist:

ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, selectdefault); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); spinner.setAdapter(adapter);

© Stack Overflow or respective owner

Related posts about android

Related posts about sqlite