public void OnConnected(Bundle connectionHint) { LocationServices.FusedLocationApi.RequestLocationUpdates(_client, _request, this, Looper.MainLooper); var location = LocationServices.FusedLocationApi.GetLastLocation(_client); if (location != null) { _owner.OnLocationUpdated(location); } }
public void OnConnected(Bundle connectionHint) { LocationServices.FusedLocationApi.RequestLocationUpdates(_client, _request, this, Looper.MainLooper); var location = LocationServices.FusedLocationApi.GetLastLocation(_client); if (location != null) { _owner.OnLocationUpdated(location); } Mvx.TaggedTrace(MvxTraceLevel.Diagnostic, "Plugin.Location.Fused", "OnConnected"); }