private void GetLastLocation()
        {
            Android.Util.Log.Info(TAG, "GetLastLocation");
            var client = _fusedLocationProviderClient.GetLastLocation();

            if (client == null)
            {
                Android.Util.Log.Info(TAG, "GetLastLocation : Client is null");
            }

            client?.AddOnSuccessListener(_fusedLocationProviderClientLastLocationListener);
            client?.AddOnFailureListener(_fusedLocationProviderClientLastLocationListener);
            Android.Util.Log.Info(TAG, "GetLastLocation - End");
        }
 /// <summary>
 ///     Gets the last location.
 /// </summary>
 private void GetLastLocation()
 {
     try
     {
         _fusedLocationClient.GetLastLocation()
         .AddOnCompleteListener(new OnCompleteListener(task =>
         {
             if (task.IsSuccessful && task.Result != null)
             {
                 _location = (Location)task.Result;
             }
             else
             {
                 Log.Warn(Tag, "Failed to get location.");
             }
         }));
     }
     catch (SecurityException exception)
     {
         Log.Error(Tag, "Lost location permission." + exception);
     }
 }