摘要: 其中BaseAdapter需要重写的方法:getCount(),getItem(int position),getItemId(int position),getView(int position, View convertView, ViewGroup parent)ListView加载性能优化V... 阅读全文
posted @ 2014-11-05 22:53 chuiyuan 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 回调所谓的回调,就是客户程序 C 调用程序 S 中的一个函数A ,然后 S 又反回来调用 C 中的某个函数 B ,对 C 来说,这个 B 就是回调函数。图示如下:对于C来说 ,B就是回调函数。C不会自己调用 B,提供 B的目的 就是让S来调用,而且 是C不得不提供 的。由于S并不知道C提供的B姓甚名... 阅读全文
posted @ 2014-11-05 19:50 chuiyuan 阅读(871) 评论(0) 推荐(0) 编辑