package zhanghaijiao.bawei.com.listmoretype_demo2.adapter;
import android.content.Context;
import android.graphics.Bitmap;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.assist.ImageScaleType;
import com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer;
import java.util.List;
import zhanghaijiao.bawei.com.listmoretype_demo2.R;
import zhanghaijiao.bawei.com.listmoretype_demo2.bean.ResultData;
/**
* Created by jane on 2018/1/3.
*/
public class MyAdapter extends BaseAdapter {
private Context context;
private List<ResultData.ResultBean.DataBean> data;
private DisplayImageOptions options;
//定义三种类型
private final int ONE_IMAGE=0;
private final int TWO_IMAGE=1;
private final int THREE_IMAGE=2;
public MyAdapter(Context context, List<ResultData.ResultBean.DataBean>
import android.content.Context;
import android.graphics.Bitmap;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.assist.ImageScaleType;
import com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer;
import java.util.List;
import zhanghaijiao.bawei.com.listmoretype_demo2.R;
import zhanghaijiao.bawei.com.listmoretype_demo2.bean.ResultData;
/**
* Created by jane on 2018/1/3.
*/
public class MyAdapter extends BaseAdapter {
private Context context;
private List<ResultData.ResultBean.DataBean> data;
private DisplayImageOptions options;
//定义三种类型
private final int ONE_IMAGE=0;
private final int TWO_IMAGE=1;
private final int THREE_IMAGE=2;
public MyAdapter(Context context, List<ResultData.ResultBean.DataBean>