2016年11月17日
摘要: 1、PagerAdapter适配器 PagerAdapter主要是viewpager的适配器,而viewPager是android.support.v4扩展中新添加的一个强大控件,可以实现控件的滑动效果, 继承pageradapter,至少必须要重写以下四个方法: instantiateItem(V 阅读全文
posted @ 2016-11-17 18:58 龙种人 阅读(1893) 评论(0) 推荐(0) 编辑
摘要: 什么是LayoutInflater This class is used to instantiate layout XML file into its corresponding View objects. 这个类作用是把把xml类型的布局转化成相应的View对象 在实际开发中LayoutInfl 阅读全文
posted @ 2016-11-17 11:33 龙种人 阅读(3000) 评论(0) 推荐(0) 编辑