Skip to content

Releases: mikepenz/FastAdapter

v1.0.1

30 Jan 00:49
Compare
Choose a tag to compare

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

26 Jan 13:06
Compare
Choose a tag to compare

v1.0.0 - STABLE RELASE

library

  • some additional javaDoc comments
  • remove the animateTo method
  • add @SafeVargs annotation to tell the compiler we do not do anything unsafe. (also make htose methods public final)
  • add setNewModel to GenericItemAdapter

v0.9.8

26 Jan 00:09
Compare
Choose a tag to compare

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

25 Jan 16:20
Compare
Choose a tag to compare

library

  • add mapping of the possible types to the new set method
  • improve new set method

v0.9.6

25 Jan 15:07
Compare
Choose a tag to compare

library

  • improved set method which properly cross animates if you set a new list upon a previous list

v0.9.5

25 Jan 13:55
Compare
Choose a tag to compare

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
  • 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

24 Jan 19:45
Compare
Choose a tag to compare

library

  • add new setNewList method which replaces the currently set list with the new list
  • move cacheSizes and call it before notifying the adapter about the updated items

sample

  • update sample app dependencies

general

  • update build tools

v0.9.3

21 Jan 19:44
Compare
Choose a tag to compare

library

  • improve the set(List items) method

v0.9.2

20 Jan 21:58
Compare
Choose a tag to compare

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

19 Jan 21:56
Compare
Choose a tag to compare
  • rename the "Typed" items to "Generic" items as the name was somehow missleading

NOTE: