I'm trying to get that when a radio button within my app is selected, the application reloads. I've got the below code:
if(check.isSelected()== true){
    b1.setEnabled(true);
    finish();
    startActivity(getIntent());
}
However, the app doesn't seem to be entering the if statement even when the radio button is checked. Any ideas?
 
     
     
    