Releases: smartnsoft/smartrecyclerview-android
Releases · smartnsoft/smartrecyclerview-android
SmartRecyclerView v1.5.1
Bugfixes
- Fix an
ArrayIndexOutOfBoundsExceptioninto theSmartRecyclerAdapter#getSpanSizeForPosition(int)method when theDiffUtilSmartRecyclerAdapter#setWrappersForDiffUtil(List)method is called a second (or third, or...) time with an empty list (see #1)
SmartRecyclerView v1.5
Additions
- Add the
OnItemTouchListenerclass in order to intercept events onRecyclerViewand implement anOnItemClickListener callback directly in a Fragment or in an Activity.
API Breaking Changes
- Remove the
getDiffUtilId()method from theSmartDiffUtilinterface. - Add a default overriding implementation - that throws an exception - of the
getIdmethod into theDiffUtilSmartRecyclerViewWrapperclass and theDiffUtilSmartRecyclerAdapterclass
Bugfixes
- Fix the implementation of the DiffUtil
SmartRecyclerView v1.4
- Clean-up the code
- Remove the dependency to the droid4me framework
- Update the signature of the
SmartRecyclerAttributes#update()method - Update the
SmartRecyclerAdapterconstructor removing theActivityand theLayoutInflatorin order to use aContextinstead
SmartRecyclerView v1.3
- Cleaned-up the code
- Reorganized the code with sub-packages name
- Introduced the
SmartDiffUtilinterface and theDiffUtilSpanRecyclerViewWrapper,DiffUtilSmartRecyclerViewWrapper,DiffUtilSmartRecyclerAdapterandSmartDiffUtilCallbackin order to allow a DiffUtil integration
SmartRecyclerView v1.2.4
- Fixed a crash when using set method from SmartRecyclerAdapter with a new wrapper type
- First open-source version