1 package com.moiseum.wolnelektury.view.library;
3 import com.moiseum.wolnelektury.connection.models.BookDetailsModel;
4 import com.moiseum.wolnelektury.connection.models.BookModel;
5 import com.moiseum.wolnelektury.view.book.BookType;
13 interface LibraryView {
14 void setNewest(List<BookModel> books);
16 void setNewestProgressVisible(boolean visible);
18 void showNewestError(Exception e);
20 void setRecommended(List<BookModel> books);
22 void setRecommendedProgressVisible(boolean visible);
24 void showRecommendedError(Exception e);
26 void setNowReadingVisibility(boolean visible);
28 void setNowReading(List<BookModel> books);
30 void setNowReadingProgressVisible(boolean visible);
32 void showNowReadingError(Exception e);
34 void openBookDetailsView(String slug, BookType bookType);
36 void initHeader(BookDetailsModel item);
38 void setProgressContainerVisible(boolean visible);
40 void showHeaderError();
42 void showHeaderEmpty(boolean userLoggedIn);
44 void setHeaderProgressVisible(boolean visible);
46 void showBecomeAFriendHeader(boolean premium);