// Path: app/src/main/java/com/waynell/videolist/demo/model/BaseItem.java
// public abstract class BaseItem {
// 
//     public static final int VIEW_TYPE_TEXT = 0;
//     public static final int VIEW_TYPE_PICTURE = 1;
//     public static final int VIEW_TYPE_VIDEO = 2;
// 
//     private final int mViewType;
// 
//     public BaseItem(int viewType) {
//         mViewType = viewType;
//     }
// 
//     public int getViewType() {
//         return mViewType;
//     }
// }
// 
// Path: app/src/main/java/com/waynell/videolist/demo/model/PicItem.java
// public class PicItem extends BaseItem {
// 
//     private String mCoverUrl;
// 
//     public PicItem(String coverUrl) {
//         super(BaseItem.VIEW_TYPE_PICTURE);
//         mCoverUrl = coverUrl;
//     }
// 
//     public String getCoverUrl() {
//         return mCoverUrl;
//     }
// }
// 
// Path: app/src/main/java/com/waynell/videolist/demo/model/TextItem.java
// public class TextItem extends BaseItem {
// 
//     private String mText;
// 
//     public TextItem(String text) {
//         super(BaseItem.VIEW_TYPE_TEXT);
//         mText = text;
//     }
// 
//     public String getText() {
//         return mText;
//     }
// }
// 
// Path: app/src/main/java/com/waynell/videolist/demo/model/VideoItem.java
// public class VideoItem extends BaseItem {
//     private String mVideoUrl;
//     private String mCoverUrl;
// 
//     public VideoItem(String videoUrl, String coverUrl) {
//         super(BaseItem.VIEW_TYPE_VIDEO);
//         mVideoUrl = videoUrl;
//         mCoverUrl = coverUrl;
//     }
// 
//     public String getCoverUrl() {
//         return mCoverUrl;
//     }
// 
//     public String getVideoUrl() {
//         return mVideoUrl;
//     }
// }


import com.waynell.videolist.demo.model.BaseItem;
import com.waynell.videolist.demo.model.PicItem;
import com.waynell.videolist.demo.model.TextItem;
import com.waynell.videolist.demo.model.VideoItem;
import java.util.ArrayList;
import java.util.List;
package com.waynell.videolist.demo.util;



/**
 * @author Wayne
 */
public class ItemUtils {

    private static final String VIDEO_URL1 = "http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4";
    private static final String VIDEO_URL2 = "http://techslides.com/demos/sample-videos/small.mp4";
    private static final String VIDEO_URL3 = "http://download.wavetlan.com/SVV/Media/HTTP/H264/Other_Media/H264_test7_voiceclip_mp4_480x360.mp4";
    private static final String VIDEO_URL4 = "http://download.wavetlan.com/SVV/Media/HTTP/MP4/ConvertedFiles/Media-Convert/Unsupported/test7.mp4";

    private static final String PIC_URL1 = "http://img10.3lian.com/sc6/show02/67/27/03.jpg";
    private static final String PIC_URL2 = "http://img10.3lian.com/sc6/show02/67/27/04.jpg";
    private static final String PIC_URL3 = "http://img10.3lian.com/sc6/show02/67/27/01.jpg";
    private static final String PIC_URL4 = "http://img10.3lian.com/sc6/show02/67/27/02.jpg";

    public static List<BaseItem> generateMockData() {
        List<BaseItem> list = new ArrayList<>();

// Path: app/src/main/java/com/waynell/videolist/demo/model/BaseItem.java
// public abstract class BaseItem {
// 
//     public static final int VIEW_TYPE_TEXT = 0;
//     public static final int VIEW_TYPE_PICTURE = 1;
//     public static final int VIEW_TYPE_VIDEO = 2;
// 
//     private final int mViewType;
// 
//     public BaseItem(int viewType) {
//         mViewType = viewType;
//     }
// 
//     public int getViewType() {
//         return mViewType;
//     }
// }
// 
// Path: app/src/main/java/com/waynell/videolist/demo/model/PicItem.java
// public class PicItem extends BaseItem {
// 
//     private String mCoverUrl;
// 
//     public PicItem(String coverUrl) {
//         super(BaseItem.VIEW_TYPE_PICTURE);
//         mCoverUrl = coverUrl;
//     }
// 
//     public String getCoverUrl() {
//         return mCoverUrl;
//     }
// }
// 
// Path: app/src/main/java/com/waynell/videolist/demo/model/TextItem.java
// public class TextItem extends BaseItem {
// 
//     private String mText;
// 
//     public TextItem(String text) {
//         super(BaseItem.VIEW_TYPE_TEXT);
//         mText = text;
//     }
// 
//     public String getText() {
//         return mText;
//     }
// }
// 
// Path: app/src/main/java/com/waynell/videolist/demo/model/VideoItem.java
// public class VideoItem extends BaseItem {
//     private String mVideoUrl;
//     private String mCoverUrl;
// 
//     public VideoItem(String videoUrl, String coverUrl) {
//         super(BaseItem.VIEW_TYPE_VIDEO);
//         mVideoUrl = videoUrl;
//         mCoverUrl = coverUrl;
//     }
// 
//     public String getCoverUrl() {
//         return mCoverUrl;
//     }
// 
//     public String getVideoUrl() {
//         return mVideoUrl;
//     }
// }


// Path: app/src/main/java/com/waynell/videolist/demo/util/ItemUtils.java
import com.waynell.videolist.demo.model.BaseItem;
import com.waynell.videolist.demo.model.PicItem;
import com.waynell.videolist.demo.model.TextItem;
import com.waynell.videolist.demo.model.VideoItem;
import java.util.ArrayList;
import java.util.List;

package com.waynell.videolist.demo.util;



/**
 * @author Wayne
 */
public class ItemUtils {

    private static final String VIDEO_URL1 = "http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4";
    private static final String VIDEO_URL2 = "http://techslides.com/demos/sample-videos/small.mp4";
    private static final String VIDEO_URL3 = "http://download.wavetlan.com/SVV/Media/HTTP/H264/Other_Media/H264_test7_voiceclip_mp4_480x360.mp4";
    private static final String VIDEO_URL4 = "http://download.wavetlan.com/SVV/Media/HTTP/MP4/ConvertedFiles/Media-Convert/Unsupported/test7.mp4";

    private static final String PIC_URL1 = "http://img10.3lian.com/sc6/show02/67/27/03.jpg";
    private static final String PIC_URL2 = "http://img10.3lian.com/sc6/show02/67/27/04.jpg";
    private static final String PIC_URL3 = "http://img10.3lian.com/sc6/show02/67/27/01.jpg";
    private static final String PIC_URL4 = "http://img10.3lian.com/sc6/show02/67/27/02.jpg";

    public static List<BaseItem> generateMockData() {
        List<BaseItem> list = new ArrayList<>();

        list.add(new TextItem("TextItem"));