Code example for RadioGroup

public class BoardAdapter extends BaseAdapter {
    private Context context;
    private ArrayList<CoincoinBoard> boardsList;
    RadioGroup rGroup = new RadioGroup( context); 
    public BoardAdapter(Context context, ArrayList<CoincoinBoard> boardList ) { 
        this.context = context;
        this.boardsList = boardList;
    public int getCount() {                         
        return boardsList.size();
    public Object getItem(int position) {     
        return boardsList.get(position);
Connect your IDE to all the code out there  Get Codota for Java