-
-
Save parzibyte/63296f4330d0e27ff3456818591dad16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int idDeRadioButtonSeleccionado = radioGroupTipoLugar.getCheckedRadioButtonId(); | |
if (idDeRadioButtonSeleccionado == radioButtonPrivado.getId()) { | |
// OK seleccionaron la opción "privado" | |
} else if (idDeRadioButtonSeleccionado == radioButtonPublico.getId()) { | |
// Seleccionaron el público | |
// Aquí pueden ir más else if | |
} else { | |
// Mmmh, imposible pero pon el else por las dudas | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment