Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (localManager.isGoogleApiClientConnected() || localManager.isGoogleApiClientConnecting()) {
- if (localManager.isLocationAvailable()) {
- if (!localManager.isLocationUpdateStart()) {
- localManager.startLocationUpdate();
- }
- } else {
- localManager.setLocationUpdateStart(false);
- Toast.makeText(getApplicationContext(), "Location not available", Toast.LENGTH_LONG).show();
- }
- } else {
- localManager.build();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement