Created
September 23, 2018 13:46
-
-
Save amanjeetsingh150/a126a5cb944da3ee59769cd4c93dd72a to your computer and use it in GitHub Desktop.
This file contains 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
latLngPublishRelay | |
.buffer(2) | |
.observeOn(AndroidSchedulers.mainThread()) | |
.subscribe(new Consumer<List<LatLng>>() { | |
@Override | |
public void accept(List<LatLng> latLngs) throws Exception { | |
emission++; | |
animateCarOnMap(latLngs); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment