Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
interface ImageService {
suspend fun getImages(): ImageResponse
object RetrofitBuilder {
private const val BASE_URL = ""
private fun getRetrofit(): Retrofit {
return Retrofit.Builder()
val apiService: ApiService = getRetrofit().create(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment