public void handleEmailFocusChange(boolean hasFocus) { if (D) Log.d(TAG, "handleEmailFocusChange called"); if (!hasFocus) { boolean valid = validateEmail(view.getEmailBox().getText().toString()); if (!valid) { NotificationView notify = new NotificationView(context); notify.launch("Invalid Email", "RED", "WHITE", true); } } }
public void handleSendButtonClick() { String email = view.getEmailBox().getText().toString(); // CALL BACKEND FUNCTION }
public void handleCancelButtonClick() { view.dismiss(); }