标签:rom page com count 技术 viewpager adapter from idv
ListView、GridView、Spinner : BaseAdapter (getCount() 、getItem()、getItemId()、getView())
或者使用BaseAdapter的子类 SimpleAdapter 、ArrayAdapter 等不常用的子类adapter。
RecyclerView : RecyclerView.Adapter<HomeAdapter.MyViewHolder>
Tab+ Viewpager : PagerAdapter v4包(instantiateItem(ViewGroup, int)
destroyItem(ViewGroup, int, Object)
getCount()
isViewFromObject(View, Object) )
Tab+ ViewPager+Fragment : FragmentPagerAdapter 或者FragmentStatePagerAdapter(tab比较多的情况)
标签:rom page com count 技术 viewpager adapter from idv
原文地址:http://www.cnblogs.com/Oldz/p/7119167.html