tags:

views:

4

answers:

0

Hello, i have a spinner with 5 entries which i managed to save to an sqliteDatabase using the getSelectedItem().toString() method. is it possible to display back the saved selected item from the database back to the spinner. I am using an intent to go back to the class where the spinner widget was created. I used a toast message to make sure i was getting back the right entry from the database, but now am stuck on how to display it back on the spinner. i just want it to be the first item displayed than having to pick from it again in the spinner.

is that possible or should i be taking a different approach? i am assuming i will be doing some form of comparison.

i have seen examples on using a listener but i don't know if that pertains to my case.

Thank you.