摘要: 先在MainActivity的xml文件中创建listview控件 在获取控件id,并创建适配器 在创建的适配器中 public class Myadapter extends BaseAdapter { Context context; String[] paths; private ImageL 阅读全文
posted @ 2016-08-23 17:28 tianliheng 阅读(212) 评论(0) 推荐(0)
摘要: xListView.setXListViewListener(new IXListViewListener() { // 下拉刷新的回调方法 public void onRefresh() { data.clear(); // TODO Auto-generated method stub zixi 阅读全文
posted @ 2016-08-23 15:24 tianliheng 阅读(324) 评论(0) 推荐(0)