I have a Dynamic list..
I want to show that list in adapter view with radio buttons. in one group.
I used:
public class Type2Adapter extends
//here i am adding 6 radiobutton . rgroup=(RadioGroup)findViewById(R.id.optionRadioGroup); for(int i=0; i<6; i++) { rb[i]=new RadioButton(context); rb[i].setText("rdo"+i); rb[i].setId(i); rgroup.addView(rb[i]); }