May i know why i am getting "RadioGroup is not applicable for the arguments"
<p>i am implementing <strong>RadioGroup</strong> in my application. For that i have imported "<strong>import android.widget.RadioGroup"</strong> and implemented <strong>OnCheckedChangeListener</strong>.But still i am getting **</p>

<blockquote>
  <p>The method
  setOnCheckedChangeListener(RadioGroup.OnCheckedChangeListener) in the
  type RadioGroup is not applicable for the arguments (OpenedClass)</p>
</blockquote>

<p>**</p>

<p>please help me to solve the problem</p>

<p>code:: **</p>

<blockquote>
  <p>OpenedClass.java</p>
</blockquote>

<p>**
    package com.thenewboston.travis;</p>

<pre><code>import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.RadioGroup;
import android.widget.TextView;

public class OpenedClass extends Activity implements OnClickListener,OnCheckedChangeListener{

    TextView tv1,tv2;
    RadioGroup selectionList;
    Button rtn;
    String gotBread;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.send);
        initlize();
        Bundle gotBusket = getIntent().getExtras();
        gotBread = gotBusket.getString("KEY");
        tv1.setText(gotBread);

    }
    private void initlize() {
        // TODO Auto-generated method stub

        tv1 = (TextView)findViewById(R.id.tvQuestion);
        tv2 = (TextView)findViewById(R.id.textView2);
        rtn = (Button)findViewById(R.id.bReturn);
        rtn.setOnClickListener(this);
        selectionList = (RadioGroup)findViewById(R.id.rgAnswers);
        selectionList.setOnCheckedChangeListener(this);
    }
    @Override
    public void onClick(View arg0) {
        // TODO Auto-generated method stub

    }
    @Override
    public void onCheckedChanged(CompoundButton arg0, boolean arg1) {
        // TODO Auto-generated method stub

        switch(arg0.getId())
        {
        case R.id.rCrazy:
            break;
        case R.id.rSuper:
            break;
        case R.id.rBoth:
            break;
        }

    }



}
</code></pre>
