aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/xyz/adjutor')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/AnimeApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/MangaApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeApi.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaApi.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/TopAnimeApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeApi.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/data/TopMangaApi.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaApi.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/AnimeResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/AnimeResponse.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnime.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnimeResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeResponse.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/manga/search/SearchManga.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchMangaResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaResponse.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/anime/topanime/TopAnime.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnimeResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeResponse.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/manga/topmanga/TopManga.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/TopMangaResponse.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaResponse.kt)2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailSearchAnimeActivity.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/search/DetailSearchAnimeActivity.kt)6
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailSearchMangaActivity.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/search/DetailSearchMangaActivity.kt)6
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailTopAnimeActivity.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/topanime/DetailTopAnimeActivity.kt)6
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailTopMangaActivity.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/topmanga/DetailTopMangaActivity.kt)6
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/HomePage.kt (renamed from app/src/main/java/xyz/adjutor/aniki/HomePage.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/MainActivity.kt (renamed from app/src/main/java/xyz/adjutor/aniki/MainActivity.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchAnimeAdapter.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeAdapter.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchAnimePage.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimePage.kt)6
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchMangaAdapter.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaAdapter.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchMangaPage.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaPage.kt)6
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/TopAnimeAdapter.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeAdapter.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/TopAnimePage.kt (renamed from app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimePage.kt)5
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/TopMangaAdapter.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaAdapter.kt)3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/TopMangaPage.kt (renamed from app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaPage.kt)5
30 files changed, 62 insertions, 40 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/AnimeApi.kt
index 52ca2ba..d67d0ef 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/data/AnimeApi.kt
@@ -1,8 +1,9 @@
-package xyz.adjutor.aniki.anime
+package xyz.adjutor.aniki.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
+import xyz.adjutor.aniki.presentation.model.AnimeResponse
interface AnimeApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/MangaApi.kt
index f1b51a4..699efa4 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/data/MangaApi.kt
@@ -1,8 +1,9 @@
-package xyz.adjutor.aniki.manga
+package xyz.adjutor.aniki.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
+import xyz.adjutor.aniki.presentation.model.MangaResponse
interface MangaApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt
index 5512636..1b0811b 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/data/SearchAnimeApi.kt
@@ -1,8 +1,9 @@
-package xyz.adjutor.aniki.anime.search
+package xyz.adjutor.aniki.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
+import xyz.adjutor.aniki.presentation.model.SearchAnimeResponse
interface SearchAnimeApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt
index 6f3e63d..3b26c1a 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/data/SearchMangaApi.kt
@@ -1,8 +1,9 @@
-package xyz.adjutor.aniki.manga.search
+package xyz.adjutor.aniki.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
+import xyz.adjutor.aniki.presentation.model.SearchMangaResponse
interface SearchMangaApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/TopAnimeApi.kt
index 2e6b1e0..39bd78b 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/data/TopAnimeApi.kt
@@ -1,8 +1,9 @@
-package xyz.adjutor.aniki.anime.topanime
+package xyz.adjutor.aniki.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
+import xyz.adjutor.aniki.presentation.model.TopAnimeResponse
interface TopAnimeApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/data/TopMangaApi.kt
index 2688fab..8edab88 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/data/TopMangaApi.kt
@@ -1,8 +1,9 @@
-package xyz.adjutor.aniki.manga.topmanga
+package xyz.adjutor.aniki.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
+import xyz.adjutor.aniki.presentation.model.TopMangaResponse
interface TopMangaApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/AnimeResponse.kt
index 9e279e1..d682e3c 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/AnimeResponse.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/AnimeResponse.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt
index 263b93c..4bd7f2f 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnime.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt
index ad7b7eb..df5189d 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnime.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.search
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnimeResponse.kt
index 92100ba..1e20e2f 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeResponse.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnimeResponse.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.search
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchManga.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchManga.kt
index 518a0a6..c24d93c 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchManga.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchManga.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.search
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchMangaResponse.kt
index 7721258..4fe7047 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaResponse.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchMangaResponse.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.search
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnime.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnime.kt
index 5202227..3cf4390 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnime.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnime.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.topanime
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnimeResponse.kt
index 2fe69d6..95d39d6 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeResponse.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopAnimeResponse.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.topanime
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopManga.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopManga.kt
index 2ceceea..2e0886a 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopManga.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopManga.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.topmanga
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopMangaResponse.kt
index 8577050..1b0dd8f 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaResponse.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/TopMangaResponse.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.topmanga
+package xyz.adjutor.aniki.presentation.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/search/DetailSearchAnimeActivity.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailSearchAnimeActivity.kt
index 2f4a6c2..68a30de 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/search/DetailSearchAnimeActivity.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailSearchAnimeActivity.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.search
+package xyz.adjutor.aniki.presentation.view
import android.os.Bundle
import android.widget.ImageView
@@ -14,8 +14,8 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
-import xyz.adjutor.aniki.anime.AnimeApi
-import xyz.adjutor.aniki.anime.AnimeResponse
+import xyz.adjutor.aniki.data.AnimeApi
+import xyz.adjutor.aniki.presentation.model.AnimeResponse
class DetailSearchAnimeActivity : AppCompatActivity() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/search/DetailSearchMangaActivity.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailSearchMangaActivity.kt
index 4ae01f8..d96cc70 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/search/DetailSearchMangaActivity.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailSearchMangaActivity.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.search
+package xyz.adjutor.aniki.presentation.view
import android.os.Bundle
import android.widget.ImageView
@@ -14,8 +14,8 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
-import xyz.adjutor.aniki.manga.MangaApi
-import xyz.adjutor.aniki.manga.MangaResponse
+import xyz.adjutor.aniki.data.MangaApi
+import xyz.adjutor.aniki.presentation.model.MangaResponse
class DetailSearchMangaActivity : AppCompatActivity() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/DetailTopAnimeActivity.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailTopAnimeActivity.kt
index 661937f..3ec6ab6 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/DetailTopAnimeActivity.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailTopAnimeActivity.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.topanime
+package xyz.adjutor.aniki.presentation.view
import android.content.Context
import android.content.SharedPreferences
@@ -17,8 +17,8 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
-import xyz.adjutor.aniki.anime.AnimeApi
-import xyz.adjutor.aniki.anime.AnimeResponse
+import xyz.adjutor.aniki.data.AnimeApi
+import xyz.adjutor.aniki.presentation.model.AnimeResponse
import java.lang.reflect.Type
class DetailTopAnimeActivity : AppCompatActivity() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/DetailTopMangaActivity.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailTopMangaActivity.kt
index 6d89437..0142018 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/DetailTopMangaActivity.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/DetailTopMangaActivity.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.topmanga
+package xyz.adjutor.aniki.presentation.view
import android.content.Context
import android.content.SharedPreferences
@@ -17,8 +17,8 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
-import xyz.adjutor.aniki.manga.MangaApi
-import xyz.adjutor.aniki.manga.MangaResponse
+import xyz.adjutor.aniki.data.MangaApi
+import xyz.adjutor.aniki.presentation.model.MangaResponse
import java.lang.reflect.Type
class DetailTopMangaActivity : AppCompatActivity() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/HomePage.kt
index 46dac33..f2abca1 100644
--- a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/HomePage.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki
+package xyz.adjutor.aniki.presentation.view
import android.os.Bundle
import android.view.LayoutInflater
@@ -7,6 +7,7 @@ import android.view.ViewGroup
import android.widget.Button
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
+import xyz.adjutor.aniki.R
class HomePage : Fragment() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/MainActivity.kt
index ddc054f..bff89e4 100644
--- a/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/MainActivity.kt
@@ -1,7 +1,8 @@
-package xyz.adjutor.aniki
+package xyz.adjutor.aniki.presentation.view
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
+import xyz.adjutor.aniki.R
class MainActivity : AppCompatActivity() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeAdapter.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchAnimeAdapter.kt
index 78718dd..e938473 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeAdapter.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchAnimeAdapter.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.search
+package xyz.adjutor.aniki.presentation.view
import android.content.Intent
import android.view.LayoutInflater
@@ -11,6 +11,7 @@ import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.presentation.model.SearchAnime
class SearchAnimeAdapter(private val animeList: List<SearchAnime>) :
RecyclerView.Adapter<SearchAnimeAdapter.AnimeViewHolder>() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimePage.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchAnimePage.kt
index b624069..d2cf795 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimePage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchAnimePage.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.search
+package xyz.adjutor.aniki.presentation.view
import android.content.Context
import android.os.Bundle
@@ -22,8 +22,10 @@ import retrofit2.Callback
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
-import xyz.adjutor.aniki.MainActivity
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.data.SearchAnimeApi
+import xyz.adjutor.aniki.presentation.model.SearchAnime
+import xyz.adjutor.aniki.presentation.model.SearchAnimeResponse
class SearchAnimePage : Fragment() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaAdapter.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchMangaAdapter.kt
index fb95c9c..061eafc 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaAdapter.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchMangaAdapter.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.search
+package xyz.adjutor.aniki.presentation.view
import android.content.Intent
import android.view.LayoutInflater
@@ -11,6 +11,7 @@ import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.presentation.model.SearchManga
class SearchMangaAdapter(private val mangaList: List<SearchManga>) :
RecyclerView.Adapter<SearchMangaAdapter.MangaViewHolder>() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaPage.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchMangaPage.kt
index d236887..7d7fa74 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/search/SearchMangaPage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/SearchMangaPage.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.search
+package xyz.adjutor.aniki.presentation.view
import android.content.Context
import android.os.Bundle
@@ -22,8 +22,10 @@ import retrofit2.Callback
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
-import xyz.adjutor.aniki.MainActivity
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.data.SearchMangaApi
+import xyz.adjutor.aniki.presentation.model.SearchManga
+import xyz.adjutor.aniki.presentation.model.SearchMangaResponse
class SearchMangaPage : Fragment() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeAdapter.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopAnimeAdapter.kt
index fa1b5ed..b1b336a 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimeAdapter.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopAnimeAdapter.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.topanime
+package xyz.adjutor.aniki.presentation.view
import android.content.Intent
import android.view.LayoutInflater
@@ -11,6 +11,7 @@ import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.presentation.model.TopAnime
class TopAnimeAdapter(private val animeList: List<TopAnime>) :
RecyclerView.Adapter<TopAnimeAdapter.AnimeViewHolder>() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimePage.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopAnimePage.kt
index babb7c1..8a7ef08 100644
--- a/app/src/main/java/xyz/adjutor/aniki/anime/topanime/TopAnimePage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopAnimePage.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.anime.topanime
+package xyz.adjutor.aniki.presentation.view
import android.content.Context
import android.content.SharedPreferences
@@ -22,6 +22,9 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.data.TopAnimeApi
+import xyz.adjutor.aniki.presentation.model.TopAnime
+import xyz.adjutor.aniki.presentation.model.TopAnimeResponse
import java.lang.reflect.Type
class TopAnimePage : Fragment() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaAdapter.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopMangaAdapter.kt
index d0c56f7..fac3730 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaAdapter.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopMangaAdapter.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.topmanga
+package xyz.adjutor.aniki.presentation.view
import android.content.Intent
import android.view.LayoutInflater
@@ -11,6 +11,7 @@ import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.presentation.model.TopManga
class TopMangaAdapter(private val mangaList: List<TopManga>) :
RecyclerView.Adapter<TopMangaAdapter.MangaViewHolder>() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaPage.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopMangaPage.kt
index 9c138a3..2bf84e8 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/topmanga/TopMangaPage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/TopMangaPage.kt
@@ -1,4 +1,4 @@
-package xyz.adjutor.aniki.manga.topmanga
+package xyz.adjutor.aniki.presentation.view
import android.content.Context
import android.content.SharedPreferences
@@ -22,6 +22,9 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
+import xyz.adjutor.aniki.data.TopMangaApi
+import xyz.adjutor.aniki.presentation.model.TopManga
+import xyz.adjutor.aniki.presentation.model.TopMangaResponse
import java.lang.reflect.Type
class TopMangaPage : Fragment() {