Created
October 20, 2016 18:24
-
-
Save michaelzengke/c9e82b62fdbed0b609be482c8e997797 to your computer and use it in GitHub Desktop.
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
Observable<List<Location>> locationTypeAheadOnChangedTextRepository = textViewChangedTextRepository | |
.flatMap(s -> Observable.just(s).map(text -> RestClientProvider.newLocationTypeAheadClient(text).query())) | |
locationTypeAheadOnChangedTextRepository.subscribe(suggestions -> render(suggestions)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment