Releases: mikepenz/FastAdapter
Releases · mikepenz/FastAdapter
v1.0.1
general
- update to latest gradle plugin
library
- implement getTypeInstance method and remove the getTypeInstances as this adds additional typeSafety even if the Adapter was not typed
- remove unnecessary type definition
- use interface for wrap method
- type ctor and getFastAdapter to add more type safety
sample
- add new sample activity which showcases multiple generic items with a GenericItemAdapter
- throw exception if no possible model class is passed inside the factory
- header should not be selectable
- update sample to latest MaterialScrollbar
- update to latest MaterialDrawer
v1.0.0
v0.9.8
library
- also handle collapsed items in the changed notify event
- add new method which will collapse all items
- make sure our items have identifiers also when new lists are set
- improve notifyAdapterItemRangeChanged and also make sure items within the range are collapsed
- make sure all items are collapsed when a new list is set. to properly animate changes
sample
- add new ExpandableItem to showcase how to properly animate views inside items
- remove .debug from the package name
- improve AdvancedSampleActivity
v0.9.7
v0.9.6
v0.9.5
library
- Fix: model was never set inside the GenericAbstractItem
- increase type safety for generic parameter return
- always use factory to create view holder
- use default factory if no factory was set
- expose a function that returns the type of the view holder to alter the default resolution
- use singleton for ViewHolderFactory -> boosts performance
- THANKS @anragab
- add factory constructor
- remove redundant functions
- add setNewList to FastItemAdapter
- add setter for the OnCreateViewHolderListener, and OnBindViewHolderListener
- add getter for the ItemAdapter inside the FastItemAdapter
sample
- update sample app dependencies
- move the click listener on the like (heart) image of the ImageListActivity to the onPostCreateViewHolder listener to improve performance.
- create simple helper class to simplify this
general
- update build tools
v0.9.4
v0.9.3
v0.9.2
MIGRATION
- withMultiSelectOnLongClick -> withSelectOnLongClick
library
- add @callsuper annotation so people call the super .bindView method which handles selection. *Thanks @Rainer-Lang *
- use a NavigableMap to cache the sizes of the different adapters to improve all reading calls
getItem
is now about 40% faster - cache totalSize inside FastAdapter
- rename withMultiSelectOnLongClick to withSelectOnLongClick and allow this option also to work in single select mode
sample
- fix sample app crash
- ignore case in search sample
v0.9.1
- rename the "Typed" items to "Generic" items as the name was somehow missleading
NOTE:
- the latest beta of the MaterialDrawer v5.0.0 is based on this version. Try it out now!
mikepenz/MaterialDrawer#920 (comment)