title: Android-How to get User info from Firebase after logging in
body: <p>With my current login activity, I can log in just fine, however I need to get Uid throughout my project. </p>
  
  <p>This is my current login activity:</p>
  
  <pre><code>   //authenticate user
          firebaseAuth.signInWithEmailAndPassword(email, password)
                  .addOnCompleteListener(LoginActivity.this, new OnCompleteListener&lt;AuthResult&gt;() {
                      @Override
                      public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
                          // If sign in fails, display a message to the user. If sign in succeeds
                          // the auth state listener will be notified and logic to handle the
                          // signed in user can be handled in the listener.
                          progressbar.setVisibility(View.GONE);
                          if (!task.isSuccessful()) {
                              // there was an error
                              if (password.length() &lt; 6) {
                                  lPass.setError(getString(R.string.minimum_password));
                              } else {
                                  Toast.makeText(LoginActivity.this, getString(R.string.auth_failed), Toast.LENGTH_LONG).show();
                              }
                          } else {
                              Intent intent = new Intent(LoginActivity.this, MapsActivity.class);
                              startActivity(intent);
                              finish();
                          }
                      }
                  });
      }
  });
  </code></pre>
  
  <p>How do I get the user Uid from the login and have it be accessible to all my other activities? 
  Thanks</p>