I have a spinner in a dialog with a setOnItemSelectedListener that onItemSelected will change the value of an EditText field in the same dialog based on a value in a database. When the user dismisses the dialog, the value of the EditText is stored and displayed in a listview. When the user clicks the listview item, it once again displays the dialog, however, after using a .setText on the EditText, it still displays the value found during the setOnItemSelectedListener.
Anyone have a good workaround so that the EditText is only changed when the user clicks a value in the Spinner and not all the time? I want to prepopulate the EditText field only when changing the spinner, otherwise, any custom text entered in the EditText is gone after selecting the listview item. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

