Android Studio – If ,else and else if statement are not working on button click in Android
I face a problem when I use if, else, and else if statements. I was making a button Login, there I used that type of code edtEditText = findViewById(R.id.username); edtEditText1 = findViewById(R.id.password); String email = edtEditText.getText().toString().trim(); String password = edtEditText1.getText().toString().trim();…