コード例 #1
0
 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);
     }
   }
 }
コード例 #2
0
  public void handleSendButtonClick() {
    String email = view.getEmailBox().getText().toString();
    // CALL BACKEND FUNCTION

  }
コード例 #3
0
 public void handleCancelButtonClick() {
   view.dismiss();
 }