From c768b4de3b3ea113b311d4afbc98bde78581812d Mon Sep 17 00:00:00 2001 From: inorichi Date: Sat, 17 Oct 2015 16:34:22 +0200 Subject: [PATCH] Delete all view interfaces --- .../eu/kanade/mangafeed/view/BaseView.java | 7 ------- .../kanade/mangafeed/view/CatalogueView.java | 19 ------------------- .../eu/kanade/mangafeed/view/LibraryView.java | 8 -------- .../mangafeed/view/MangaCatalogueView.java | 8 -------- .../mangafeed/view/MangaDetailView.java | 11 ----------- .../eu/kanade/mangafeed/view/SourceView.java | 8 -------- 6 files changed, 61 deletions(-) delete mode 100644 app/src/main/java/eu/kanade/mangafeed/view/BaseView.java delete mode 100644 app/src/main/java/eu/kanade/mangafeed/view/CatalogueView.java delete mode 100644 app/src/main/java/eu/kanade/mangafeed/view/LibraryView.java delete mode 100644 app/src/main/java/eu/kanade/mangafeed/view/MangaCatalogueView.java delete mode 100644 app/src/main/java/eu/kanade/mangafeed/view/MangaDetailView.java delete mode 100644 app/src/main/java/eu/kanade/mangafeed/view/SourceView.java diff --git a/app/src/main/java/eu/kanade/mangafeed/view/BaseView.java b/app/src/main/java/eu/kanade/mangafeed/view/BaseView.java deleted file mode 100644 index 019d18786..000000000 --- a/app/src/main/java/eu/kanade/mangafeed/view/BaseView.java +++ /dev/null @@ -1,7 +0,0 @@ -package eu.kanade.mangafeed.view; - -import android.content.Context; - -public interface BaseView { - Context getActivity(); -} diff --git a/app/src/main/java/eu/kanade/mangafeed/view/CatalogueView.java b/app/src/main/java/eu/kanade/mangafeed/view/CatalogueView.java deleted file mode 100644 index 2fe9299a8..000000000 --- a/app/src/main/java/eu/kanade/mangafeed/view/CatalogueView.java +++ /dev/null @@ -1,19 +0,0 @@ -package eu.kanade.mangafeed.view; - -import android.content.Intent; -import android.widget.ImageView; - -import uk.co.ribot.easyadapter.EasyAdapter; - -public interface CatalogueView extends BaseView { - Intent getIntent(); - void setTitle(String title); - void setAdapter(EasyAdapter adapter); - void setMangaClickListener(); - void setScrollListener(); - void resetScrollListener(); - void showProgressBar(); - void showGridProgressBar(); - void hideProgressBar(); - ImageView getImageView(int position); -} diff --git a/app/src/main/java/eu/kanade/mangafeed/view/LibraryView.java b/app/src/main/java/eu/kanade/mangafeed/view/LibraryView.java deleted file mode 100644 index 8b29e5c78..000000000 --- a/app/src/main/java/eu/kanade/mangafeed/view/LibraryView.java +++ /dev/null @@ -1,8 +0,0 @@ -package eu.kanade.mangafeed.view; - -import uk.co.ribot.easyadapter.EasyAdapter; - -public interface LibraryView extends BaseView { - void setAdapter(EasyAdapter mangas); - void setMangaClickListener(); -} diff --git a/app/src/main/java/eu/kanade/mangafeed/view/MangaCatalogueView.java b/app/src/main/java/eu/kanade/mangafeed/view/MangaCatalogueView.java deleted file mode 100644 index e56ece0c9..000000000 --- a/app/src/main/java/eu/kanade/mangafeed/view/MangaCatalogueView.java +++ /dev/null @@ -1,8 +0,0 @@ -package eu.kanade.mangafeed.view; - -import eu.kanade.mangafeed.data.models.Manga; - -public interface MangaCatalogueView extends BaseView { - void setTitle(String title); - void setMangaInformation(Manga manga); -} diff --git a/app/src/main/java/eu/kanade/mangafeed/view/MangaDetailView.java b/app/src/main/java/eu/kanade/mangafeed/view/MangaDetailView.java deleted file mode 100644 index fe310a6fa..000000000 --- a/app/src/main/java/eu/kanade/mangafeed/view/MangaDetailView.java +++ /dev/null @@ -1,11 +0,0 @@ -package eu.kanade.mangafeed.view; - -import java.util.List; - -import eu.kanade.mangafeed.data.models.Chapter; -import eu.kanade.mangafeed.data.models.Manga; - -public interface MangaDetailView extends BaseView { - void loadManga(Manga manga); - void setChapters(List chapters); -} diff --git a/app/src/main/java/eu/kanade/mangafeed/view/SourceView.java b/app/src/main/java/eu/kanade/mangafeed/view/SourceView.java deleted file mode 100644 index ca0f773cd..000000000 --- a/app/src/main/java/eu/kanade/mangafeed/view/SourceView.java +++ /dev/null @@ -1,8 +0,0 @@ -package eu.kanade.mangafeed.view; - -import uk.co.ribot.easyadapter.EasyAdapter; - -public interface SourceView extends BaseView { - void setAdapter(EasyAdapter adapter); - void setSourceClickListener(); -}