diff --git a/app/src/main/java/com/example/cosmosclient/views/ForgotPasswordActivity.java b/app/src/main/java/com/example/cosmosclient/views/ForgotPasswordActivity.java index 21eeb66..c407bd5 100644 --- a/app/src/main/java/com/example/cosmosclient/views/ForgotPasswordActivity.java +++ b/app/src/main/java/com/example/cosmosclient/views/ForgotPasswordActivity.java @@ -16,14 +16,17 @@ super.onCreate(savedInstanceState); setContentView(R.layout.activity_forgot_password); - EditText EmailAddressText = findViewById(R.id.EMailAddressText); + final EditText EmailAddressText = findViewById(R.id.EMailAddressText); Button SendButton = findViewById(R.id.SendButton); SendButton.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View v){ + String MailAddress = EmailAddressText.getText().toString(); + //メールアドレスをサーバに送信する処理の予定 - Toast.makeText(ForgotPasswordActivity.this, "入力されたアドレスにメールを送信しました", Toast.LENGTH_SHORT).show(); + Toast.makeText(ForgotPasswordActivity.this, + "入力されたアドレスにメールを送信しました", Toast.LENGTH_SHORT).show(); finish(); } });