-
Notifications
You must be signed in to change notification settings - Fork 0
/
Confirm_OTP.java
32 lines (28 loc) · 954 Bytes
/
Confirm_OTP.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.example.app_login;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class Confirm_OTP extends AppCompatActivity {
private TextView button;
@SuppressLint("MissingInflatedId")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_confirm_otp);
button = (TextView) findViewById(R.id.Submit_OTP_btn);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
openNextActivity();
}
});
}
public void openNextActivity(){
Intent intent = new Intent(this, NewPassword.class);
startActivity(intent);
}
}