2012年1月5日

ListView 源码学习笔记 [ 原创 ]

摘要: ListView 源码学习笔记public class ListView extends AbsListView { /** * Used to indicate a no preference for a position type. * 指示一个没有被引用的位置 */ static final int NO_POSITION = -1; /** * Normal list that does not indicate choices * 普通列表显示(没有指定显示模式) */ public static final int C... 阅读全文

posted @ 2012-01-05 15:43 Ronald9 阅读(438) 评论(0) 推荐(0) 编辑

Android -- Button [ 学习笔记 一 ] 原创

摘要: 一. 类的继承结构关系图android.widget.Button --- android.widget.CompoundButton --- android.widget.CheckBox --- android.widget.RadioButton --- android.widget.Switch --- android.widget.ToggleButton二. Button 类的使用1) 注册单击事件监听器final Button button = (Button) findViewById(R.id.button_id)... 阅读全文

posted @ 2012-01-05 10:46 Ronald9 阅读(319) 评论(0) 推荐(0) 编辑

导航