// Path: app/src/main/java/com/xiaoyuan/hloli/ui/base/BaseModel.java
// public interface BaseModel {
// }
// 
// Path: app/src/main/java/com/xiaoyuan/hloli/ui/base/BasePresenter.java
// public abstract class BasePresenter<V, M> {
//     public Context mContext;
//     public M mModel;
//     public V mView;
// 
//     public void setVM(V v, M m) {
//         this.mView = v;
//         this.mModel = m;
//         this.onStart();
//     }
// 
//     public void onStart() {
//     }
// 
//     public void onDestroy() {
// 
//     }
// }
// 
// Path: app/src/main/java/com/xiaoyuan/hloli/ui/base/BaseView.java
// public interface BaseView {
//     /*******内嵌加载*******/
//     void showLoading(String title);
//     void stopLoading();
//     void showErrorTip(String msg);
// }


import com.xiaoyuan.hloli.bean.SearchResult;
import com.xiaoyuan.hloli.ui.base.BaseModel;
import com.xiaoyuan.hloli.ui.base.BasePresenter;
import com.xiaoyuan.hloli.ui.base.BaseView;
import java.util.List;
import rx.Subscriber;
package com.xiaoyuan.hloli.ui.search.contract;




/**
 * Created by yuan on 2017/5/5.
 */
public interface SearchResultContract {

    public interface View extends BaseView {
        void onArticlesGet(List<SearchResult.ListEntity> data, boolean refresh);
        void noMoreData();
    }

    public abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void searchArticles(String keyword, boolean refresh);
    }

// Path: app/src/main/java/com/xiaoyuan/hloli/ui/base/BaseModel.java
// public interface BaseModel {
// }
// 
// Path: app/src/main/java/com/xiaoyuan/hloli/ui/base/BasePresenter.java
// public abstract class BasePresenter<V, M> {
//     public Context mContext;
//     public M mModel;
//     public V mView;
// 
//     public void setVM(V v, M m) {
//         this.mView = v;
//         this.mModel = m;
//         this.onStart();
//     }
// 
//     public void onStart() {
//     }
// 
//     public void onDestroy() {
// 
//     }
// }
// 
// Path: app/src/main/java/com/xiaoyuan/hloli/ui/base/BaseView.java
// public interface BaseView {
//     /*******内嵌加载*******/
//     void showLoading(String title);
//     void stopLoading();
//     void showErrorTip(String msg);
// }


// Path: app/src/main/java/com/xiaoyuan/hloli/ui/search/contract/SearchResultContract.java
import com.xiaoyuan.hloli.bean.SearchResult;
import com.xiaoyuan.hloli.ui.base.BaseModel;
import com.xiaoyuan.hloli.ui.base.BasePresenter;
import com.xiaoyuan.hloli.ui.base.BaseView;
import java.util.List;
import rx.Subscriber;

package com.xiaoyuan.hloli.ui.search.contract;




/**
 * Created by yuan on 2017/5/5.
 */
public interface SearchResultContract {

    public interface View extends BaseView {
        void onArticlesGet(List<SearchResult.ListEntity> data, boolean refresh);
        void noMoreData();
    }

    public abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void searchArticles(String keyword, boolean refresh);
    }

    public interface Model extends BaseModel {