Skip to content

v2.1.0

Compare
Choose a tag to compare
@manneohlund manneohlund released this 23 Jul 22:52
· 258 commits to master since this release
cdfee5a
  • Added unbind method in SmartViewHolder, called when ViewHolder is recycled.
  • Added OnViewAttachedToWindowListener for SmartViewHolder extension implementation.
  • Added OnViewDetachedToWindowListener for SmartViewHolder extension implementation.
  • Added RecyclableViewHolder interface for SmartViewHolder extensions, called when the adapter fails to recycle the View/ViewHolder.
  • Removed global OnViewDetachedToWindowListener from SmartAdapterBuilder and SmartRecyclerAdapter.
  • Renaming of implementation class back to SmartRecyclerAdapter and interface definition to ISmartRecyclerAdapter avoid casting to Recycler.Adapter.
  • Support for both View and ViewGroup of overridden SmartViewHolder constructor parameter.
  • Internal optimisations and more tests.
  • Bug fixes and improvements.