EfficientAdapter v2.0 Release Notes
Release Date: 2015-09-19 // over 8 years ago-
- Re-write the adapter to be compatible with ViewPager
How to migrate from 1.x:
- the gradle import change from
com.skocken:efficientadapter.lib:1.2.+
tocom.skocken:efficientadapter:2.0
(.lib
disappear) - ๐ Rename all
AbsViewHolderAdapter
toEfficientAdapter
- ๐ Rename all
AbsViewHolder
toEfficientViewHolder
- ๐ Rename all
HeterogeneousAdapter
andSimpleAdapter
toEfficientRecyclerAdapter
- ๐ Rename all
AbsViewHolderAdapter.OnItemClickListener
byEfficientAdapter.OnItemClickListener
- ๐ The function
remove(int position)
changed toremoveAt(int position)
- ๐ The function
moved(int from, int to)
changed tomove(int from, int to)
- The method
protected Class<?> getViewHolderClass()
into the Adapter is goingpublic
now - The method
protected int getLayoutResId()
into the Adapter is goingpublic
now - Proguard: replace
AbsViewHolder
byEfficientViewHolder