summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/anime
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-13 13:42:16 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-13 13:42:16 +0200
commita4fbe1308bb4cf61358d8169dd32505e2783a9af (patch)
tree4f8f67ba83a64dd33c310f1eee659dfdd5d32b85 /app/src/main/java/xyz/adjutor/aniki/anime
parenta11219745fd6ddf8796682f7ab433c1a1d0402f5 (diff)
parentbe1df4b40a41ae1d4c727637a326ad32eb729ed9 (diff)
Merge branch 'release/3.0'v3.0.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/anime')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt12
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt11
2 files changed, 0 insertions, 23 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
deleted file mode 100644
index 028097a..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
+++ /dev/null
@@ -1,12 +0,0 @@
-package xyz.adjutor.aniki.anime
-
-import retrofit2.Call
-import retrofit2.http.GET
-import retrofit2.http.Path
-
-interface AnimeApi {
-
- @GET("v3/anime/{id}")
- fun getAnimeData(@Path("id") id: String): Call<RestAnimeResponse>
-
-} \ No newline at end of file
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt
deleted file mode 100644
index aa15dfd..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/anime/RestAnimeResponse.kt
+++ /dev/null
@@ -1,11 +0,0 @@
-package xyz.adjutor.aniki.anime
-
-import com.google.gson.annotations.SerializedName
-
-class RestAnimeResponse{ //only kept the infos I didn't have and that were interesting to me.
-
- @SerializedName("mal_id")
- var mal_id: Int? = null
- @SerializedName("synopsis")
- var synopsis: String? = null
-}