

Use getDropDownView() for opened Spinner. I have done this as following.I have use getDropDownView() and getView() methods.

View view = super.getDropDownView(position, convertView, parent) ĪtDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
Spinner spinner = (Spinner) this.findViewById(R.id.spinner1) ĪrrayAdapter dataAdapter = new ArrayAdapter (this,android.R.layout.simple_spinner_item, list) įor (int i = 0 i < cursor.getCount() i++) ->in this line very important so add View getDropDownView(int position, View convertView,In my Android application, I am using spinner, and I have loaded data from the SQLite database into the spinner, and it's working properly. In this tutorial, we will code an example Android app with a Spinner drop down implemented, with two inter.
