Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (getCheckEmailFromServer == true || getCheckNameFormServer == true || getCheckNumberFormServer == true);
- {
- Intent nextActivity = new Intent(this, GiftHomeActivity.class);
- startActivity(nextActivity);
- }
- else
- {
- if (getCheckEmailFromServer == false)
- {
- emailHint.setText("You enter wrong Email. Please, try again.");
- }
- else if (getCheckNameFormServer == false)
- {
- nameHint.setText("You enter wrong name");
- }
- else if(getCheckNumberFormServer==false)
- {
- numberHint.setText("You enter wrong number");
- }
- }
- }
- catch (IOException e)
- {
- e.printStackTrace();
- }
- }
- }
Add Comment
Please, Sign In to add comment