private void createUserAcccount(String email, String name, String password) {
mAuth.createUserWithEmailAndPassword(email, password)
I want to know after this is completed but when I add addOnCompleteListener it shows unable to resolve symbol. What is the solution to this?
>Solution :
mAuth.createUserWithEmailAndPassword(emailpassword
.addOnCompleteListener(task -> {
//task completed
if(task.isSuccessfull()) Log.d("signIn","success"); //sign in success
else Log.d("signIn","fail") //sign in failed
});
This will help you