An Run Time Error with Radio Group
<p>I  wrote this code but it shows RunTime error</p>

<pre><code> public void onCheckedChanged(RadioGroup GenderSelection,int arg2) {
        // TODO Auto-generated method stub

        switch(arg2){
        case R.id.radio0:

            CaseGender="Male";
            break;

        case R.id.radio1:
            CaseGender="Female";
            break;

        }
</code></pre>

<p>I couldn't chose the second radio button 
what shall  I do ?</p>
