// Path: app/src/main/java/com/liuguangqiang/idaily/adapter/StoriesAdapter.java
// public class StoriesAdapter extends BaseProviderMultiAdapter<BaseEntity> implements LoadMoreModule {
// 
//     public static final int ITEM_STORY = 0;
// 
//     public static final int ITEM_SECTION = 1;
// 
//     public StoriesAdapter(@Nullable List<BaseEntity> data) {
//         super(data);
//         addItemProvider(new StoryItemProvider());
//         addItemProvider(new SectionItemProvider());
//     }
// 
//     @Override
//     protected int getItemType(List<? extends BaseEntity> list, int i) {
//         if (getItem(i) instanceof StorySection) {
//             return ITEM_SECTION;
//         }
//         return ITEM_STORY;
//     }
// }


import android.os.Parcel;
import android.os.Parcelable;
import com.liuguangqiang.idaily.adapter.StoriesAdapter;
import java.util.ArrayList;
import java.util.List;
        dest.writeStringList(this.images);
        dest.writeString(this.image);
        dest.writeString(this.body);
        dest.writeStringList(this.css);
        dest.writeString(this.share_url);
    }

    protected Story(Parcel in) {
        this.id = in.readInt();
        this.title = in.readString();
        this.type = in.readInt();
        this.images = in.createStringArrayList();
        this.image = in.readString();
        this.body = in.readString();
        this.css = in.createStringArrayList();
        this.share_url = in.readString();
    }

    public static final Creator<Story> CREATOR = new Creator<Story>() {
        public Story createFromParcel(Parcel source) {
            return new Story(source);
        }

        public Story[] newArray(int size) {
            return new Story[size];
        }
    };

    @Override
    public int getItemType() {
// Path: app/src/main/java/com/liuguangqiang/idaily/adapter/StoriesAdapter.java
// public class StoriesAdapter extends BaseProviderMultiAdapter<BaseEntity> implements LoadMoreModule {
// 
//     public static final int ITEM_STORY = 0;
// 
//     public static final int ITEM_SECTION = 1;
// 
//     public StoriesAdapter(@Nullable List<BaseEntity> data) {
//         super(data);
//         addItemProvider(new StoryItemProvider());
//         addItemProvider(new SectionItemProvider());
//     }
// 
//     @Override
//     protected int getItemType(List<? extends BaseEntity> list, int i) {
//         if (getItem(i) instanceof StorySection) {
//             return ITEM_SECTION;
//         }
//         return ITEM_STORY;
//     }
// }


// Path: app/src/main/java/com/liuguangqiang/idaily/entity/Story.java
import android.os.Parcel;
import android.os.Parcelable;
import com.liuguangqiang.idaily.adapter.StoriesAdapter;
import java.util.ArrayList;
import java.util.List;

        dest.writeStringList(this.images);
        dest.writeString(this.image);
        dest.writeString(this.body);
        dest.writeStringList(this.css);
        dest.writeString(this.share_url);
    }

    protected Story(Parcel in) {
        this.id = in.readInt();
        this.title = in.readString();
        this.type = in.readInt();
        this.images = in.createStringArrayList();
        this.image = in.readString();
        this.body = in.readString();
        this.css = in.createStringArrayList();
        this.share_url = in.readString();
    }

    public static final Creator<Story> CREATOR = new Creator<Story>() {
        public Story createFromParcel(Parcel source) {
            return new Story(source);
        }

        public Story[] newArray(int size) {
            return new Story[size];
        }
    };

    @Override
    public int getItemType() {
        return StoriesAdapter.ITEM_STORY;