title: How to get the latitude and longitude from address that users input in the text box
body: <p>I need a little help with my code. I'm trying to get the users address that they input from the edittext and get that address lattitutde and longitude and save that in geofire. I'm able to get the current users longitude and latitude and save it to geofire but what if the user wanted to use a different address and I get the latitude and longitude for that specific address instead and save it in  geofire how would I go about that? I hope you my question is'nt confusing to you all. Below is my code Thanks in advance.</p>
  
  <pre><code> FusedLocationClient.getLastLocation()
              .addOnSuccessListener(this, new OnSuccessListener&lt;Location&gt;() {
                  @Override
                  public void onSuccess(final Location location) {
                      if (location != null) {
                          Double latittude = location.getLatitude();
                          Double longitude = location.getLongitude();
  
  
  
  
  
                          String uid = FirebaseAuth.getInstance().getCurrentUser().getUid();
                          DatabaseReference reference = FirebaseDatabase.getInstance().getReference("Users").child("address");
                          DatabaseReference update =  reference.child("Users").child(uid);
  
                          GeoFire geoFire=new GeoFire( reference);
  
  
  
  
  
                          geoFire.setLocation(uid, new GeoLocation(latittude, longitude), new GeoFire.CompletionListener() {
                              @Override
                              public void onComplete(String key, DatabaseError error) {
                                  if (error != null) {
                                      System.err.println("There was an error saving your location to GeoFire: " + error);
                                  } else {
                                      System.out.println("Location saved on the server successfully!");
                                  }
                              }
                          });
  </code></pre>