title: can not resolve 'updateUI' firebase
body: <p>I am trying to authenticate users with email and password through firebase. But it shows can not resolve updateUI(user).
  Here's this part of the code.</p>
  
  <pre><code>public void OnContinue(View view) {
      if(hasClickedCountinueOnce){
          EditText emailTextBox = (EditText)findViewById(R.id.email);
          String user = userNAAME.getText().toString();
          String passwordText = password.getText().toString();
          String email = emailTextBox.getText().toString();
          //todo manage new account here
          if(!user.isEmpty() &amp;&amp; !passwordText.isEmpty() ){
              mAuth.createUserWithEmailAndPassword(email, passwordText)
                      .addOnCompleteListener(this, new OnCompleteListener&lt;AuthResult&gt;() {
                          @Override
                          public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
                              if (task.isSuccessful()) {
                                  // Sign in success, update UI with the signed-in user's information
                                  Log.d("SignInFailed", "createUserWithEmail:success");
                                  FirebaseUser user = mAuth.getCurrentUser();
                                  updateUI(user);
                              } else {
                                  // If sign in fails, display a message to the user.
                                  Log.w("SignInFailed", "createUserWithEmail:failure", task.getException());
                                  Toast.makeText(SignUP.this, "Authentication failed.",
                                          Toast.LENGTH_SHORT).show();
                                  updateUI(null);
                              }
                          }
                      });
          }
      }
  }
  </code></pre>