Created
February 8, 2020 16:04
-
-
Save roscrazy/eea2d668b453d33a96f5d06fb3954d07 to your computer and use it in GitHub Desktop.
SingleLocation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun singleLocation(): Single<Location> = observeLocationChange() | |
.firstOrError() | |
.timeout(locationAttributes.requestTimeOut, TimeUnit.MILLISECONDS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment