I am a beginner and facing a problem where I am creating a ListView
with two RadioButton
s and a TextView
. Everything goes fine, but wh
You need to save the state of RadioButton for each item, so while scrolling in getView() method first it will check the state of each RadioButton.
Step1:- You need to create a Pojo class(Setter & Getter) for saving the state of RadioButton.
For more details go through the below link
http://amitandroid.blogspot.in/2013/03/android-listview-with-checkbox-and.html
This example is a ListView with CheckBox you need to change it to RadioButton according to your requirement.