// Path: app/src/main/java/com/topnews/android/gson/IconBean.java
// public class IconBean {
// 
//     private String iconUri;
// 
//     private String iconDes;
// 
//     public String getIconDes() {
//         return iconDes;
//     }
// 
//     public void setIconDes(String iconDes) {
//         this.iconDes = iconDes;
//     }
// 
//     public String getIconUri() {
//         return iconUri;
//     }
// 
//     public void setIconUri(String iconUri) {
//         this.iconUri = iconUri;
//     }
// 
// }


import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import com.topnews.android.R;
import com.topnews.android.gson.IconBean;
import java.util.List;
package com.topnews.android.adapter;




/**
 * Created by dell on 2017/3/5.
 */

public class IconAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {


    public static final int  PULLUP_LOAD_MORE=0;        //上拉加载更多

    public static final int  LOADING_MORE=1;            //玩命加载中

    public static final int  LOAD_MORE_FAIL=2;          //加载失败

    public static final int  LOAD_MORE_NONE=3;          //没有更多数据了

    private int load_more_status=PULLUP_LOAD_MORE;      //默认状态为上拉加载更多

    private static final int TYPE_ITEM = 0;             //普通Item View

    private static final int TYPE_FOOTER = 1;           //底部FootView

// Path: app/src/main/java/com/topnews/android/gson/IconBean.java
// public class IconBean {
// 
//     private String iconUri;
// 
//     private String iconDes;
// 
//     public String getIconDes() {
//         return iconDes;
//     }
// 
//     public void setIconDes(String iconDes) {
//         this.iconDes = iconDes;
//     }
// 
//     public String getIconUri() {
//         return iconUri;
//     }
// 
//     public void setIconUri(String iconUri) {
//         this.iconUri = iconUri;
//     }
// 
// }


// Path: app/src/main/java/com/topnews/android/adapter/IconAdapter.java
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import com.topnews.android.R;
import com.topnews.android.gson.IconBean;
import java.util.List;

package com.topnews.android.adapter;




/**
 * Created by dell on 2017/3/5.
 */

public class IconAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {


    public static final int  PULLUP_LOAD_MORE=0;        //上拉加载更多

    public static final int  LOADING_MORE=1;            //玩命加载中

    public static final int  LOAD_MORE_FAIL=2;          //加载失败

    public static final int  LOAD_MORE_NONE=3;          //没有更多数据了

    private int load_more_status=PULLUP_LOAD_MORE;      //默认状态为上拉加载更多

    private static final int TYPE_ITEM = 0;             //普通Item View

    private static final int TYPE_FOOTER = 1;           //底部FootView

    private List<IconBean> mDatas;