Skip to content

Instantly share code, notes, and snippets.


illuzor/WallpapersApi.kt Secret

Created Sep 22, 2018
What would you like to do?
package com.illuzor.lesson.wallpapers.api
import com.illuzor.lesson.wallpapers.model.Category
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.*
interface WallpapersApi {
fun categories(): Call<List<Category>>
fun gallery(@Query("gallery") galleryName: String): Call<List<String>>
fun downloadFile(@Url fileUrl: String): Call<ResponseBody>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment