摘要: 加油! 阅读全文
posted @ 2016-07-13 23:15 法捷耶夫 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 在继承了ArrayAdapter重新getCount()的方法后,比如 public int getCount() { return 3; } 若在活动中调用setAdapter()的方法前,List集合中没有数据,比如,需要同步加载服务器的数据,此时就会造成list集合中没有数据, 但是重写了ge 阅读全文
posted @ 2016-07-13 23:14 法捷耶夫 阅读(1883) 评论(0) 推荐(0) 编辑
摘要: 实现方式一:在代码中实现: 1,在一个布局中定义一个Button,在活动中加载Button的父布局, 例如:View bottomView = getLayoutInflater().inflate(R.layout.bottom, null); 2,使用ListView的 addFooterVie 阅读全文
posted @ 2016-07-13 23:04 法捷耶夫 阅读(381) 评论(0) 推荐(0) 编辑