Hi.

I'm having problems with spinner. I'm using spinner that is bound to a
SimpleCursorAdapter.
I want  to retrieve the text value of the selected item. So i tried

public void onItemSelected(AdapterView<?> parent,View v, int position,
long id)
{
   String t = parent.getSelectedItem().toString();
}

This however does not work and my string  gets loaded with

android.database.sqlite.sqlitecur...@435a72c0

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to