摘要:
首先自定义适配器(Adapter)public class MyAdapter extends BaseAdapter{ private LayoutInflater mInflater; private List> mData; public MyAdapter(Context context,List> news){ this.mInflater = LayoutInflater.from(context); this.mData=news; } @Override public int getCount() { // TODO Auto-generated method st 阅读全文