aboutsummaryrefslogtreecommitdiff
path: root/app
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
parent3703ade7bae26dd223e71aa098f8ea0d50ca2a00 (diff)
"Optimizing" imports
Diffstat (limited to 'app')
-rw-r--r--app/src/androidTest/java/xyz/adjutor/aniki/ExampleInstrumentedTest.kt6
-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
-rw-r--r--app/src/test/java/xyz/adjutor/aniki/ExampleUnitTest.kt3
7 files changed, 6 insertions, 13 deletions
diff --git a/app/src/androidTest/java/xyz/adjutor/aniki/ExampleInstrumentedTest.kt b/app/src/androidTest/java/xyz/adjutor/aniki/ExampleInstrumentedTest.kt
index 517647e..9100bf0 100644
--- a/app/src/androidTest/java/xyz/adjutor/aniki/ExampleInstrumentedTest.kt
+++ b/app/src/androidTest/java/xyz/adjutor/aniki/ExampleInstrumentedTest.kt
@@ -1,13 +1,11 @@
package xyz.adjutor.aniki
-import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
-
+import androidx.test.platform.app.InstrumentationRegistry
+import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
-import org.junit.Assert.*
-
/**
* Instrumented test, which will execute on an Android device.
*
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 {
diff --git a/app/src/test/java/xyz/adjutor/aniki/ExampleUnitTest.kt b/app/src/test/java/xyz/adjutor/aniki/ExampleUnitTest.kt
index 7aacf1c..6e6f0ae 100644
--- a/app/src/test/java/xyz/adjutor/aniki/ExampleUnitTest.kt
+++ b/app/src/test/java/xyz/adjutor/aniki/ExampleUnitTest.kt
@@ -1,9 +1,8 @@
package xyz.adjutor.aniki
+import org.junit.Assert.assertEquals
import org.junit.Test
-import org.junit.Assert.*
-
/**
* Example local unit test, which will execute on the development machine (host).
*