From 7bc4fe28dd31176c50495b2f3b0ba5a51eca6d9e Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 20 Feb 2021 18:20:01 +0100 Subject: "Optimizing" imports --- app/src/main/java/xyz/adjutor/aniki/HomePage.kt | 2 +- app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimeApi.kt | 2 +- app/src/main/java/xyz/adjutor/aniki/topanime/TopAnimePage.kt | 1 - app/src/main/java/xyz/adjutor/aniki/topmanga/DetailTopMangaActivity.kt | 3 --- app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaApi.kt | 2 +- 5 files changed, 3 insertions(+), 7 deletions(-) (limited to 'app/src/main') 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 { -- cgit v1.2.3