title: how to check and uncheck single radio button
body: <p>I have an issue like selecting and unselecting a single radio button on click, the setOnCheckChangeListner() works only for the first time below is the code which I have tried.</p>
  
  <pre><code>radioButton.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
             @Override
             public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
                 if(isChecked) radioButton.setChecked(false);
                 else radioButton.setChecked(true);
             }
         });
  </code></pre>