Provides a simple abstract class that you can override only onLocationChanged and onLocationFailed.
new SimpleLocationListener() {
@Override
public void onLocationChanged(Location location) {
// Code when location has changed
}
@Override
public void onLocationFailed(@FailType int type) {
// Code when location couldn't be retrieved
}
};
Provides a simple abstract class that you can override only
onLocationChanged
andonLocationFailed
.