Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save roscrazy/493e1a9470c6eae37953183f247eb9e2 to your computer and use it in GitHub Desktop.
Save roscrazy/493e1a9470c6eae37953183f247eb9e2 to your computer and use it in GitHub Desktop.
RxLocationManagerImpl
fusedLocationService.requestLocationUpdates(locationAttributes)
.onErrorResumeNext { it: Throwable ->
androidLocationService.requestLocationUpdates(locationAttributes)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment