// Path: app/src/main/java/com/wulinpeng/daiylreader/rank/contract/IRankDetailPresenter.java
// public interface IRankDetailPresenter extends IBaseContract.IBasePresenter {
// 
//     public void loadData();
// }
// 
// Path: app/src/main/java/com/wulinpeng/daiylreader/rank/contract/IRankDetailView.java
// public interface IRankDetailView extends IBaseContract.IBaseView {
// 
//     public void showLoading(boolean loading);
// 
//     public void onLoadError(String msg);
// 
//     public void onLoadFinish(List<BookShort> data);
// 
// }
// 
// Path: app/src/main/java/com/wulinpeng/daiylreader/util/RxUtil.java
// public class RxUtil {
// 
//     public static <T> Observable.Transformer<T, T> rxScheduler() {
//         return observable -> observable
//                 .subscribeOn(Schedulers.io())
//                 .observeOn(AndroidSchedulers.mainThread());
//     }
// }


import android.content.Context;
import com.wulinpeng.daiylreader.net.ReaderApiManager;
import com.wulinpeng.daiylreader.rank.contract.IRankDetailPresenter;
import com.wulinpeng.daiylreader.rank.contract.IRankDetailView;
import com.wulinpeng.daiylreader.util.RxUtil;
import wulinpeng.com.framework.base.mvp.BasePresenter;
package com.wulinpeng.daiylreader.rank.presenter;




/**
 * @author wulinpeng
 * @datetime: 17/2/20 下午4:19
 * @description:
 */
public class RankDetailPresenterImpl extends BasePresenter<IRankDetailView> implements IRankDetailPresenter {

    private Context context;

    private String id;

    public RankDetailPresenterImpl(Context context, IRankDetailView rootView, String id) {
        super(rootView);
        this.context = context;
// Path: app/src/main/java/com/wulinpeng/daiylreader/rank/contract/IRankDetailPresenter.java
// public interface IRankDetailPresenter extends IBaseContract.IBasePresenter {
// 
//     public void loadData();
// }
// 
// Path: app/src/main/java/com/wulinpeng/daiylreader/rank/contract/IRankDetailView.java
// public interface IRankDetailView extends IBaseContract.IBaseView {
// 
//     public void showLoading(boolean loading);
// 
//     public void onLoadError(String msg);
// 
//     public void onLoadFinish(List<BookShort> data);
// 
// }
// 
// Path: app/src/main/java/com/wulinpeng/daiylreader/util/RxUtil.java
// public class RxUtil {
// 
//     public static <T> Observable.Transformer<T, T> rxScheduler() {
//         return observable -> observable
//                 .subscribeOn(Schedulers.io())
//                 .observeOn(AndroidSchedulers.mainThread());
//     }
// }


// Path: app/src/main/java/com/wulinpeng/daiylreader/rank/presenter/RankDetailPresenterImpl.java
import android.content.Context;
import com.wulinpeng.daiylreader.net.ReaderApiManager;
import com.wulinpeng.daiylreader.rank.contract.IRankDetailPresenter;
import com.wulinpeng.daiylreader.rank.contract.IRankDetailView;
import com.wulinpeng.daiylreader.util.RxUtil;
import wulinpeng.com.framework.base.mvp.BasePresenter;

package com.wulinpeng.daiylreader.rank.presenter;




/**
 * @author wulinpeng
 * @datetime: 17/2/20 下午4:19
 * @description:
 */
public class RankDetailPresenterImpl extends BasePresenter<IRankDetailView> implements IRankDetailPresenter {

    private Context context;

    private String id;

    public RankDetailPresenterImpl(Context context, IRankDetailView rootView, String id) {
        super(rootView);
        this.context = context;
        this.id = id;