Skip to content

Instantly share code, notes, and snippets.

@rohmanhakim
Created January 4, 2017 07:46
Show Gist options
  • Save rohmanhakim/d6deaee6e2108bfc8ddeeb557a8a5e6a to your computer and use it in GitHub Desktop.
Save rohmanhakim/d6deaee6e2108bfc8ddeeb557a8a5e6a to your computer and use it in GitHub Desktop.
public void showEmailExistAlert(boolean value){
if(value) {
textEmailAlert.setText(getString(R.string.email_exist_alert));
textEmailAlert.setVisibility(View.VISIBLE);
} else {
textEmailAlert.setVisibility(View.GONE);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment