Releases: mikepenz/FastAdapter
Releases · mikepenz/FastAdapter
v1.2.1
library
- fix
add(Item)
method. It was notifying about the wrong position
general
- update to latest gradle build tools
v1.2.0
MIGRATION
- update to support libraries v23.2.0
library
- new EndlessScrollListener by @FabianTerhorst (THANKS!)
- update to latest support appcompat libraries v23.2.0
- add new IClickable interface which is now implemented in the AbstractItem
- this allows items to include custom click behaviors and even to prevent execution of the FastAdapter listeners
- simplify ActionModeHelper
sample
- new EndlessScrollSample by @FabianTerhorst (THANKS!)
- fix toggling in IconGridActivity
- fix item layouts for new RecyclerView 23.2.0
- update to latest AboutLibraries
- update to latest MaterialDrawer
- move the animation of the arrow into the ExpandableItem
- remove unnecessary code from the sample apps
v1.1.2
library
- handle the toggling of expandable items within the FastAdapter
- update sample to follow this
sample
- alter the ExpandableItem to fit the Material Design Guideliens for expandable items
MIGRATION
- remove
fastItemAdapter.toggleExpandable(position);
from your onClick listener - change
if (((IExpandable) item).isExpanded())
toif (!((IExpandable) item).isExpanded())
in the onClick listener as the expantion is now done before the listener is called
v1.1.1
library
- allow to chain the ItemFilterListener -> rename it to withItemFilterListener
- add new function to provide a Comparator inside an ItemAdapter. This will automatically sort the list as soon as new items are added or set
- FIX #51
- update javadoc inside the IItemAdapter
- add new method to get the count of expandable items before a specific position
general
- update to gradle 2.11
- update to latest andrdoid build tools
v1.1.0
library
- CIRTICAL bug-fix getItemCount method and rename it to getPreItemCount.
- this issue caused mixed up position using when seting and updating the list. it is HIGHLY recommended to update to this version
- FIX mikepenz/MaterialDrawer#1019
- also add new getPreItemCountByOrder
- some tiny speed improvements
- type onClickListener in the ClickListenerHelper
library-extensions
- split up fastadapter into a new module called fastadapter-extensions
- move SimpleSwipeCallback and SimpleSwipeDragCallback to the new extensions module. (first step of making is part of the lib) THANKS @mattiasbe for this awesome PR
sample
- update all dependencies
- new Swipe sample by @mattiasbe
- some other new things
v1.0.6
v1.0.5
library
- remove the type from the
wrap
method as it should be possible to have different adapters with different types
sample
- add types to adapters in the advanced sample to showcase different types for different adapters
- add type params ot the Function in the MultiTypeGenericItemActivity to be more type-safe
- we can be even more typesafe by also typing the GenericItemAdapter
general
- update to latest android build tools