Created
September 22, 2020 04:39
-
-
Save ch8n/8f924e925c31785ca8125ce1eb983477 to your computer and use it in GitHub Desktop.
for medium article
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
class MovieSource(val movieService : MovieService) { | |
fun getMovie(query : String): Single<MovieDetailResponse> { | |
return movieService.getMovie(query) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment