1

Android listview data doesn't persist when re-created

view story
linux-howto

http://stackoverflow.com – I have a listview that uses a custom arrayadapter that loads a layout with text + a radiobutton. The user should only be able to select a single item in the list at a time - so basically only one radio button should be 'checked' at any time. This works perfectly except when the activity is recreated, like when the screen is rotated. I can't figure out why it's doing this, so maybe you all can think of something? Here's the code for the activity that has the listview: import android.os.Bundle; import android.annotation.SuppressLint; import android.app.Activity; import android.view.Menu; impor (HowTos)