// Path: app/src/main/java/com/flyou/girls/Constant.java
// public class Constant {
//     public static  final  String BASE_URL="http://m.xxxiao.com";
//     public static  final  String NEW="/page/";
//     public static  final String XINGGAN="/cat/xinggan/page/";
//     public static  final String SHAONV="/cat/shaonv/page/";
//     public static  final String MRXT="/cat/mrxt/page/";
//     public static  final String SWMT="/cat/swmt/page/";
//     public static  final String WMXZ="/cat/wmxz/page/";
//     public static  final String WALLPAPER="/cat/wallpaper/page";
// }
// 
// Path: app/src/main/java/com/flyou/girls/ui/mainImageList/domain/ImageListDomain.java
// public class ImageListDomain implements Parcelable {
//     private String linkUrl;
//     private  String imageUrl;
//     private String imgaeTitle;
// 
// 
// 
//     public String getLinkUrl() {
//         return linkUrl;
//     }
// 
//     public void setLinkUrl(String linkUrl) {
//         this.linkUrl = linkUrl;
//     }
// 
//     public String getImageUrl() {
//         return imageUrl;
//     }
// 
//     public void setImageUrl(String imageUrl) {
//         this.imageUrl = imageUrl;
//     }
// 
//     public String getImgaeTitle() {
//         return imgaeTitle;
//     }
// 
//     public void setImgaeTitle(String imgaeTitle) {
//         this.imgaeTitle = imgaeTitle;
//     }
// 
//     public ImageListDomain(String linkUrl, String imageUrl, String imgaeTitle) {
//         this.linkUrl = linkUrl;
//         this.imageUrl = imageUrl;
//         this.imgaeTitle = imgaeTitle;
//     }
// 
//     @Override
//     public int describeContents() {
//         return 0;
//     }
// 
//     @Override
//     public void writeToParcel(Parcel dest, int flags) {
//         dest.writeString(this.linkUrl);
//         dest.writeString(this.imageUrl);
//         dest.writeString(this.imgaeTitle);
//     }
// 
//     protected ImageListDomain(Parcel in) {
//         this.linkUrl = in.readString();
//         this.imageUrl = in.readString();
//         this.imgaeTitle = in.readString();
//     }
// 
//     public static final Parcelable.Creator<ImageListDomain> CREATOR = new Parcelable.Creator<ImageListDomain>() {
//         @Override
//         public ImageListDomain createFromParcel(Parcel source) {
//             return new ImageListDomain(source);
//         }
// 
//         @Override
//         public ImageListDomain[] newArray(int size) {
//             return new ImageListDomain[size];
//         }
//     };
// }


import com.flyou.girls.Constant;
import com.flyou.girls.ui.mainImageList.domain.ImageListDomain;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import rx.Observable;
import rx.Subscriber;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
package com.flyou.girls.ui.mainImageList.model;





/**
 * ============================================================
 * 项目名称：Girls
 * 包名称：com.flyou.girls.ui.ImageList.domain
 * 文件名：ImageListModelImpl
 * 类描述：
 * 创建人：flyou
 * 邮箱：fangjaylong@gmail.com
 * 创建时间：2016/4/19 15:45
 * 修改备注：
 * 版本：@version  V1.0
 * ============================================================
 **/
public class ImageListModelImpl implements ImageListModel {


    @Override
    public void GetImageList(final String type, final int page, final GetImageListenter listener) {


// Path: app/src/main/java/com/flyou/girls/Constant.java
// public class Constant {
//     public static  final  String BASE_URL="http://m.xxxiao.com";
//     public static  final  String NEW="/page/";
//     public static  final String XINGGAN="/cat/xinggan/page/";
//     public static  final String SHAONV="/cat/shaonv/page/";
//     public static  final String MRXT="/cat/mrxt/page/";
//     public static  final String SWMT="/cat/swmt/page/";
//     public static  final String WMXZ="/cat/wmxz/page/";
//     public static  final String WALLPAPER="/cat/wallpaper/page";
// }
// 
// Path: app/src/main/java/com/flyou/girls/ui/mainImageList/domain/ImageListDomain.java
// public class ImageListDomain implements Parcelable {
//     private String linkUrl;
//     private  String imageUrl;
//     private String imgaeTitle;
// 
// 
// 
//     public String getLinkUrl() {
//         return linkUrl;
//     }
// 
//     public void setLinkUrl(String linkUrl) {
//         this.linkUrl = linkUrl;
//     }
// 
//     public String getImageUrl() {
//         return imageUrl;
//     }
// 
//     public void setImageUrl(String imageUrl) {
//         this.imageUrl = imageUrl;
//     }
// 
//     public String getImgaeTitle() {
//         return imgaeTitle;
//     }
// 
//     public void setImgaeTitle(String imgaeTitle) {
//         this.imgaeTitle = imgaeTitle;
//     }
// 
//     public ImageListDomain(String linkUrl, String imageUrl, String imgaeTitle) {
//         this.linkUrl = linkUrl;
//         this.imageUrl = imageUrl;
//         this.imgaeTitle = imgaeTitle;
//     }
// 
//     @Override
//     public int describeContents() {
//         return 0;
//     }
// 
//     @Override
//     public void writeToParcel(Parcel dest, int flags) {
//         dest.writeString(this.linkUrl);
//         dest.writeString(this.imageUrl);
//         dest.writeString(this.imgaeTitle);
//     }
// 
//     protected ImageListDomain(Parcel in) {
//         this.linkUrl = in.readString();
//         this.imageUrl = in.readString();
//         this.imgaeTitle = in.readString();
//     }
// 
//     public static final Parcelable.Creator<ImageListDomain> CREATOR = new Parcelable.Creator<ImageListDomain>() {
//         @Override
//         public ImageListDomain createFromParcel(Parcel source) {
//             return new ImageListDomain(source);
//         }
// 
//         @Override
//         public ImageListDomain[] newArray(int size) {
//             return new ImageListDomain[size];
//         }
//     };
// }


// Path: app/src/main/java/com/flyou/girls/ui/mainImageList/model/ImageListModelImpl.java
import com.flyou.girls.Constant;
import com.flyou.girls.ui.mainImageList.domain.ImageListDomain;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import rx.Observable;
import rx.Subscriber;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;

package com.flyou.girls.ui.mainImageList.model;





/**
 * ============================================================
 * 项目名称：Girls
 * 包名称：com.flyou.girls.ui.ImageList.domain
 * 文件名：ImageListModelImpl
 * 类描述：
 * 创建人：flyou
 * 邮箱：fangjaylong@gmail.com
 * 创建时间：2016/4/19 15:45
 * 修改备注：
 * 版本：@version  V1.0
 * ============================================================
 **/
public class ImageListModelImpl implements ImageListModel {


    @Override
    public void GetImageList(final String type, final int page, final GetImageListenter listener) {


        Observable<List<ImageListDomain>> observable = Observable.create(new Observable.OnSubscribe<List<ImageListDomain>>() {