diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-05-19 10:07:23 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-05-19 10:07:23 +0200 |
commit | 8ede9457fd21ac5e272e73f5ece1d4bc9c23faab (patch) | |
tree | 366dcab01a2a6ab40fed72cc25cf1bb4368c9589 /app/src/main/java/xyz/adjutor/aniki/data | |
parent | 1740c8c0ec4a7fe371c30bc6be784bdc9407dbe2 (diff) |
Big updaterelease/3.2
Restructuring the packages and adding a Constants.kt for the api URL.
Also adding gson in Singletons.kt
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/data')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/AnimeApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/data/anime/AnimeApi.kt) | 4 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/MangaApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt) | 4 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/data/anime/SearchAnimeApi.kt) | 4 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt) | 4 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/TopAnimeApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/data/anime/TopAnimeApi.kt) | 4 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/data/TopMangaApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt) | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/data/anime/AnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/AnimeApi.kt index 24e5cd7..0f0cb17 100644 --- a/app/src/main/java/xyz/adjutor/aniki/data/anime/AnimeApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/data/AnimeApi.kt @@ -1,9 +1,9 @@ -package xyz.adjutor.aniki.data.anime +package xyz.adjutor.aniki.data import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path -import xyz.adjutor.aniki.presentation.model.anime.AnimeResponse +import xyz.adjutor.aniki.presentation.model.response.AnimeResponse interface AnimeApi { diff --git a/app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/MangaApi.kt index a0f8df1..c6236b4 100644 --- a/app/src/main/java/xyz/adjutor/aniki/data/manga/MangaApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/data/MangaApi.kt @@ -1,9 +1,9 @@ -package xyz.adjutor.aniki.data.manga +package xyz.adjutor.aniki.data import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path -import xyz.adjutor.aniki.presentation.model.manga.MangaResponse +import xyz.adjutor.aniki.presentation.model.response.MangaResponse interface MangaApi { diff --git a/app/src/main/java/xyz/adjutor/aniki/data/anime/SearchAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt index 9bd6b2d..6ff1439 100644 --- a/app/src/main/java/xyz/adjutor/aniki/data/anime/SearchAnimeApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt @@ -1,9 +1,9 @@ -package xyz.adjutor.aniki.data.anime +package xyz.adjutor.aniki.data import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query -import xyz.adjutor.aniki.presentation.model.anime.SearchAnimeResponse +import xyz.adjutor.aniki.presentation.model.response.SearchAnimeResponse interface SearchAnimeApi { diff --git a/app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt index 6cc2d77..6b679b7 100644 --- a/app/src/main/java/xyz/adjutor/aniki/data/manga/SearchMangaApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt @@ -1,9 +1,9 @@ -package xyz.adjutor.aniki.data.manga +package xyz.adjutor.aniki.data import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query -import xyz.adjutor.aniki.presentation.model.manga.SearchMangaResponse +import xyz.adjutor.aniki.presentation.model.response.SearchMangaResponse interface SearchMangaApi { diff --git a/app/src/main/java/xyz/adjutor/aniki/data/anime/TopAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/TopAnimeApi.kt index 76fd25f..d850c2a 100644 --- a/app/src/main/java/xyz/adjutor/aniki/data/anime/TopAnimeApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/data/TopAnimeApi.kt @@ -1,9 +1,9 @@ -package xyz.adjutor.aniki.data.anime +package xyz.adjutor.aniki.data import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path -import xyz.adjutor.aniki.presentation.model.anime.TopAnimeResponse +import xyz.adjutor.aniki.presentation.model.response.TopAnimeResponse interface TopAnimeApi { diff --git a/app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/TopMangaApi.kt index 222dce3..c9bb53b 100644 --- a/app/src/main/java/xyz/adjutor/aniki/data/manga/TopMangaApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/data/TopMangaApi.kt @@ -1,9 +1,9 @@ -package xyz.adjutor.aniki.data.manga +package xyz.adjutor.aniki.data import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path -import xyz.adjutor.aniki.presentation.model.manga.TopMangaResponse +import xyz.adjutor.aniki.presentation.model.response.TopMangaResponse interface TopMangaApi { |