Releases: MikiLoz92/FancyAdapters
Releases · MikiLoz92/FancyAdapters
Data set changes notifications bug fixes
Major bug fixes
Fixed a bug in SelectableViewAdapter and HandleAdapter that prevented these two adapters from working with inner-class ViewHolders, when they were specified as type parameters.
Minor bug corrections
Corrected a bug where the ActionMode updateActionMode
method would not be called when using selectItem
method. Thus, ActionMode title would not change.
API changes:
- Renamed
updateActionMode
toonSelectionChanged
. This provides a better glance of when this method is called.
SelectableViewAdapter
- Added SelectableViewAdapter, a special type of adapter that extends from SuperSelectableAdapter, and incorporates a View that acts as visual feedback of the selection status of an item. This View responds to selection actions with a nice flip animation.
- Now HandleAdapter extends from SelectableViewAdapter instead of SuperSelectableAdapter: made more sense this way, since the only thing that differentiates it from SelectableViewAdapter is that the selectable View can start a drag.
- Added
setSelectableViewBehavior
method to SelectableViewAdapter and all its child classes. This method sets whether the selectable View can actually be clicked to be selected, or it just acts as visual feedback and cannot be provided with input.
API Changes:
- onBindHandleViewHolder on HandleAdapter is renamed to onBindSelectableViewHolder.
HandleAdapter
- Added HandleAdapter, a special type of SuperSelectableAdapter.
First release's bug corrections
- RecyclerView references removed from the SelectableAdapter's constructor (legacy code, not needed anymore).
- Added javadoc&sources generation gradle code.
- Little bugfix on the sample activities that caused adapter malfunction.
First release
0.1.0 Updated details for VCS