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/presentation/model | |
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/presentation/model')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/SearchAnime.kt) | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchManga.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/SearchManga.kt) | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnime.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/TopAnime.kt) | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/TopManga.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/TopManga.kt) | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/response/AnimeResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/AnimeResponse.kt) | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/MangaResponse.kt) | 2 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/response/SearchAnimeResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/SearchAnimeResponse.kt) | 3 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/response/SearchMangaResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/SearchMangaResponse.kt) | 3 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/response/TopAnimeResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/TopAnimeResponse.kt) | 3 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/response/TopMangaResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/TopMangaResponse.kt) | 3 |
10 files changed, 14 insertions, 10 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/SearchAnime.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt index 7e4340c..df5189d 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/SearchAnime.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt @@ -1,4 +1,4 @@ -package xyz.adjutor.aniki.presentation.model.anime +package xyz.adjutor.aniki.presentation.model import com.google.gson.annotations.SerializedName diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/SearchManga.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchManga.kt index d69227b..c24d93c 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/SearchManga.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchManga.kt @@ -1,4 +1,4 @@ -package xyz.adjutor.aniki.presentation.model.manga +package xyz.adjutor.aniki.presentation.model import com.google.gson.annotations.SerializedName diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/TopAnime.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnime.kt index aefc1c5..3cf4390 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/TopAnime.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnime.kt @@ -1,4 +1,4 @@ -package xyz.adjutor.aniki.presentation.model.anime +package xyz.adjutor.aniki.presentation.model import com.google.gson.annotations.SerializedName diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/TopManga.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopManga.kt index 4fe3951..27f63f3 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/TopManga.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopManga.kt @@ -1,4 +1,4 @@ -package xyz.adjutor.aniki.presentation.model.manga +package xyz.adjutor.aniki.presentation.model import com.google.gson.annotations.SerializedName diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/AnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/AnimeResponse.kt index e4336ce..c2ef05b 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/AnimeResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/AnimeResponse.kt @@ -1,4 +1,4 @@ -package xyz.adjutor.aniki.presentation.model.anime +package xyz.adjutor.aniki.presentation.model.response import com.google.gson.annotations.SerializedName diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/MangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt index 06aeed0..da88a79 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/MangaResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt @@ -1,4 +1,4 @@ -package xyz.adjutor.aniki.presentation.model.manga +package xyz.adjutor.aniki.presentation.model.response import com.google.gson.annotations.SerializedName diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/SearchAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/SearchAnimeResponse.kt index d04aa67..1400704 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/SearchAnimeResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/SearchAnimeResponse.kt @@ -1,6 +1,7 @@ -package xyz.adjutor.aniki.presentation.model.anime +package xyz.adjutor.aniki.presentation.model.response import com.google.gson.annotations.SerializedName +import xyz.adjutor.aniki.presentation.model.SearchAnime class SearchAnimeResponse { //only kept the infos I didn't have and that were interesting to me. diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/SearchMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/SearchMangaResponse.kt index 942c071..ed94b95 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/SearchMangaResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/SearchMangaResponse.kt @@ -1,6 +1,7 @@ -package xyz.adjutor.aniki.presentation.model.manga +package xyz.adjutor.aniki.presentation.model.response import com.google.gson.annotations.SerializedName +import xyz.adjutor.aniki.presentation.model.SearchManga class SearchMangaResponse { //only kept the infos I didn't have and that were interesting to me. diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/TopAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/TopAnimeResponse.kt index 48e2f8f..0c0adb4 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/anime/TopAnimeResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/TopAnimeResponse.kt @@ -1,6 +1,7 @@ -package xyz.adjutor.aniki.presentation.model.anime +package xyz.adjutor.aniki.presentation.model.response import com.google.gson.annotations.SerializedName +import xyz.adjutor.aniki.presentation.model.TopAnime class TopAnimeResponse { diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/TopMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/TopMangaResponse.kt index a0f6b8c..091984c 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/TopMangaResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/TopMangaResponse.kt @@ -1,6 +1,7 @@ -package xyz.adjutor.aniki.presentation.model.manga +package xyz.adjutor.aniki.presentation.model.response import com.google.gson.annotations.SerializedName +import xyz.adjutor.aniki.presentation.model.TopManga class TopMangaResponse { |