Delete all view interfaces
This commit is contained in:
parent
1929eea19d
commit
c768b4de3b
6 changed files with 0 additions and 61 deletions
|
@ -1,7 +0,0 @@
|
|||
package eu.kanade.mangafeed.view;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public interface BaseView {
|
||||
Context getActivity();
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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();
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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<Chapter> chapters);
|
||||
}
|
|
@ -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();
|
||||
}
|
Reference in a new issue