// Path: app/src/main/java/org/xdty/kindle/data/Mode.java
// public enum Mode {
//     DAILY_DEALS,
//     FREE_CN,
//     FREE_EN
// }


import org.xdty.kindle.data.Mode;
import org.xdty.kindle.module.Book;
import java.util.List;
package org.xdty.kindle.contract;



public interface MainContract {

    interface View extends BaseView<Presenter> {
        void refresh(List<Book> books);
    }

    interface Presenter extends BasePresenter {
        void loadBooks();

        void getBookNodes(Book book);

        void getReviews(String itemId);

// Path: app/src/main/java/org/xdty/kindle/data/Mode.java
// public enum Mode {
//     DAILY_DEALS,
//     FREE_CN,
//     FREE_EN
// }


// Path: app/src/main/java/org/xdty/kindle/contract/MainContract.java
import org.xdty.kindle.data.Mode;
import org.xdty.kindle.module.Book;
import java.util.List;

package org.xdty.kindle.contract;



public interface MainContract {

    interface View extends BaseView<Presenter> {
        void refresh(List<Book> books);
    }

    interface Presenter extends BasePresenter {
        void loadBooks();

        void getBookNodes(Book book);

        void getReviews(String itemId);

        void setMode(Mode mode);