// 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 android.content.Context;
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/2.
 */
public interface SearchContract {


    public interface View extends BaseView {
        void getAllHistory(List<String> data);
    }

    public abstract class Presenter extends BasePresenter<View, Model> {

        public abstract void queryHistory(Context context);

        public abstract void addHistory(Context context, String item);

        public abstract void deleteHistory(Context context, int position);

        public abstract void clearHistory(Context context);
    }

// 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/SearchContract.java
import android.content.Context;
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/2.
 */
public interface SearchContract {


    public interface View extends BaseView {
        void getAllHistory(List<String> data);
    }

    public abstract class Presenter extends BasePresenter<View, Model> {

        public abstract void queryHistory(Context context);

        public abstract void addHistory(Context context, String item);

        public abstract void deleteHistory(Context context, int position);

        public abstract void clearHistory(Context context);
    }

    public interface Model extends BaseModel {