I have radio buttons in an application I am creating. When the user clicks on one option, I want the other radio buttons to be unclickable.
I’m not sure how to do this, the radio buttons are set in an onclick listener and the logic is set within on click.
What about calling
setEnabled(false)on the rest of the buttons? If there are too many buttons you can consider putting in an array: