摘要: 今天在做项目的时候用了自定义listview以及自定义的item、adapter。现在把其中需要注意的地方记录下来:1、item内如果有button等控件时,在监听listview的onitemclick事件时,焦点会被item内的button、imagebutton等控件抢走,从而导致在listv... 阅读全文
posted @ 2015-09-07 14:22 爬山蜗牛 阅读(167) 评论(0) 推荐(0)
摘要: http://www.androiddesignpatterns.com/2013/01/inner-class-handler-memory-leak.html 阅读全文
posted @ 2015-05-19 10:07 爬山蜗牛 阅读(80) 评论(0) 推荐(0)
摘要: http://arron-li.iteye.com/blog/645008arraylist解决ArrayList的ConcurrentModificationException增强for 循环http://www.cnblogs.com/linjiqin/archive/2011/02/10/19... 阅读全文
posted @ 2015-05-19 10:05 爬山蜗牛 阅读(115) 评论(0) 推荐(0)
摘要: What is the difference between an Animator and an Animation?http://stackoverflow.com/questions/28220613/what-is-the-difference-between-an-animator-and... 阅读全文
posted @ 2015-05-19 09:44 爬山蜗牛 阅读(114) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-05-11 19:54 爬山蜗牛 阅读(91) 评论(0) 推荐(0)
摘要: 问题描述:如何对一个对话框设置 主题风格解决思路: 一.查看dialog的构造器如下图1-1、1-2 /** * Create a Dialog window that uses a custom dialog style. * * @param context The ... 阅读全文
posted @ 2014-11-28 10:06 爬山蜗牛 阅读(442) 评论(0) 推荐(0)