aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 18:20:01 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 18:20:01 +0100
commit7bc4fe28dd31176c50495b2f3b0ba5a51eca6d9e (patch)
tree6c5761dd51a2504f358d58e2eafc755d6b3a19e9 /app/src/main/java/xyz/adjutor
parent3703ade7bae26dd223e71aa098f8ea0d50ca2a00 (diff)
"Optimizing" imports
Diffstat (limited to 'app/src/main/java/xyz/adjutor')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/HomePage.kt2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt2
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimePage.kt1
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/topmanga/DetailTopMangaActivity.kt3
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaApi.kt2
5 files changed, 3 insertions, 7 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt b/app/src/main/java/xyz/adjutor/aniki/HomePage.kt
index 59d7c62..734e917 100644
--- a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/HomePage.kt
@@ -1,11 +1,11 @@
package xyz.adjutor.aniki
import android.os.Bundle
-import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
+import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
class HomePage : Fragment() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
index 6d8669c..bea4c63 100644
--- a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt
@@ -1,7 +1,7 @@
package xyz.adjutor.aniki.topanime
-import retrofit2.http.GET
import retrofit2.Call
+import retrofit2.http.GET
interface TopAnimeApi {
diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimePage.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimePage.kt
index b1fe2e2..a333aae 100644
--- a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimePage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimePage.kt
@@ -20,7 +20,6 @@ import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import xyz.adjutor.aniki.R
-import xyz.adjutor.aniki.topmanga.TopManga
import java.lang.reflect.Type
class TopAnimePage : Fragment() {
diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/DetailTopMangaActivity.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/DetailTopMangaActivity.kt
index b01e3f3..e97ee39 100644
--- a/app/src/main/java/xyz/adjutor/aniki/topmanga/DetailTopMangaActivity.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/DetailTopMangaActivity.kt
@@ -1,12 +1,9 @@
package xyz.adjutor.aniki.topmanga
import android.os.Bundle
-import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
-import androidx.navigation.fragment.NavHostFragment.findNavController
-import androidx.navigation.fragment.findNavController
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import xyz.adjutor.aniki.R
diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaApi.kt
index 69c4cdd..e8231b0 100644
--- a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaApi.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaApi.kt
@@ -1,7 +1,7 @@
package xyz.adjutor.aniki.topmanga
-import retrofit2.http.GET
import retrofit2.Call
+import retrofit2.http.GET
interface TopMangaApi {