Releases: mikepenz/FastAdapter
Releases · mikepenz/FastAdapter
v1.4.0
MIGRATION
- with v1.4.0 by default a FastAdapter is now
withSelectable(false)
(for normal lists) if you have selection enabled in your list, addwithSelectable(true)
to yourFastAdapter
,FastItemAdapter
orGenericFastItemAdapter
library
- CHANGE
withSelectable()
TO FALSE by DEFAULT - filtering is only possible on a list without a selection or expanded items (because the positions of those items will change)
- FIX #103
- add new GenericFastItemAdapter THANKS @FabianTerhorst
library-extension
- add constructor for
visibleThreshold
toEndlessRecyclerOnScrollListener
THANKS @FabianTerhorst - Improve SimpleDragCallback THANKS @FabianTerhorst
- its touch callback is optional now (only needed when the adapter is
not a item adapter or fast item adapter) - add left and right direction
- its touch callback is optional now (only needed when the adapter is
- Improve FastAdapterDialog THANKS @FabianTerhorst
- remove layout manager, scroll listener and adapter field to only
store the values inside the recycler view - create the recycler view inside the constructor
- set adapter, layout manager and scroll listener now also works after
show()
- remove layout manager, scroll listener and adapter field to only
sample
- change sample activities to fit new default behavior (see MIGRATION guide)
v1.3.0
library
- improv the
UndoHelper
and create a new set of theselections
as those are updated later if the actionMode is finished- improve behavior mentioned in #94
- add more tests THANKS @FabianTerhorst
library-extensions
- update EndlessRecyclerOnScrollListener THANKS @FabianTerhorst
- Added
EndlessScrollHelper
THANKS @jasonsparc - improve SimpleSwipeCallback THANKS @FabianTerhorst
sample
v1.2.9
library
- add new param to expand and collapse to control if it should call
notifyItemChanged
if necessary for the expanding item - use the new
.collapse()
function with the param in theItemAdapter
- implement new setting to allow only one expanded expandable item inthe list
- FIX #79
library-extension
- update SimpleDragCallback THANKS @FabianTerhorst
- make directions configurable
sample
- update sample app dependencies
v1.2.8
library
- Add travis.yml, and print results in CI THANKS @shubhamchaudhary
- fix move function
library-extensions
- update and improve EndlessRecyclerOnScrollListener THANKS @FabianTerhorst
- fix NullPointerException
- determine visibleThreshold automatically
v1.2.7
library
- Add unit test structure with first unittest THANKS @shubhamchaudhary
- Update ItemAdapter.java, AdapterUtil.java THANKS @Rainer-Lang
- add move method to the
ItemAdapter
(might need a second look as initial tests showed a weird animation for some edge cases, might be related to the DefaultAnimator)
v1.2.6
library
- Slight optimisation when we know the size of list THANKS @shubhamchaudhary
- use
Collections.emptyList()
as suggested by @mattiasbe to avoid an allocation
sample
- update sample app to latest dependencies
v1.2.5
library
- make most methods chainable
- GenericItemAdapter also should be chainable
- Remove list with the model from the GenericItemAdapter, as we do not need to keep this in addition.
- add getter for the models
- move AbstractWrapAdapter to core
general
- update to gradle 2.12
sample
- fix onClick is not passed back to the
itemView
- FIX #73
v1.2.4
v1.2.3
library
- fix
getGlobalPosition
was not returning the real global position when passing position 0 - improve error message if a ViewHolder without a correct CTOR is used
- fix wrong generic declaration
- add final wherever possible
- simplify notify methods, remove obsolete code as notifyItem* is the same as notifyItemRange*
library-extensions
- add new AbstractWrapAdapter to the FastAdapter library-extensions
- This adapter allows to insert items inbetween your list. This is really helpful if you have sections inbetween or want to display ads on a regular basis
- This adapter requires to call the notify methods directly, it also does not come with the handy methods as an ItemAdapter does (shouldn't be a problem for the usecase of this adapteR)
- add sample implementation of the new AbstractWrapAdapter
sample
- rename adapter package to adapters inside sample
- fix typo in ExpandableItem
- FIX #67
general
v1.2.2
library
- allow to directly sort the list if a new comparator is defined
- sort with a comparator in the
set()
method - add getter for the comparator
- add new IDraggable interface to enable / disable the dragging feature of an item
- check the IDraggable flag within the SimpleDragCallback
sample
- add new sample showcasing the sort functionality THANKS @rubengees
- use the new IDraggable interfae in the SampleItem
- update all libs of the sample app