title: Radio Button checking and unchecking programmatically in android
body: <p>My requirement is to be able to be able to check only 1 radio button from the no of options available. </p>
  
  <p>My layout is simple </p>
  
  <p><img src="https://i.stack.imgur.com/o9FWm.jpg" alt="enter image description here"></p>
  
  <p>User should be able to select only one of p1, p2 and p3.</p>
  
  <p>The IDs for for the buttons are <code>rB1,rB2 and rB3</code>.</p>
  
  <p>PS: I know it is possible to achieve the same with <code>RadioGroup</code> , but in this particular instance I want to go with <code>Radio Button</code> hence the query</p>