package com.sometrik.framework;

import android.content.Context;
import android.view.View;
import android.widget.RadioGroup;

public class FWRadioGroup extends RadioGroup implements NativeCommandHandler {
  
  private Context context;
  
  public FWRadioGroup(Context context){
    super(context);
    this.context = context;
  }

  @Override
  public void addChild(View view) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void removeChild(int id) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void showView() {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void addOption(int optionId, String text) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void setValue(String v) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void setValue(int v) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public int getElementId() {
    return getId();
  }

}

@@ -84,16 +84,51 @@
 w.View;%0A
+import android.widget.RadioButton;%0A
 import a
@@ -714,47 +714,129 @@
     
-// TODO Auto-generated method stub%0A    
+RadioButton button = new RadioButton(context);%0A    button.setId(optionId);%0A    button.setText(text);%0A    addView(button);
 %0A  %7D

Implement addOption on FWRadioGroup