Last active
September 22, 2020 04:35
-
-
Save ch8n/d02e4aa53410e8ff62e6f233bc08d17a 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 ApiManager(private val retrofit : Retrofit) { | |
val movieService : MovieService by lazy { | |
retrofit.create(MovieService::class.java) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment