Skip to content

Instantly share code, notes, and snippets.

@AjiSetya
Forked from rohmanhakim/ShowEmailExistAlert.java
Created February 15, 2017 08:12
Show Gist options
  • Select an option

  • Save AjiSetya/5e2e11f00f28893859dc56cd8f4ef534 to your computer and use it in GitHub Desktop.

Select an option

Save AjiSetya/5e2e11f00f28893859dc56cd8f4ef534 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