Skip to content

Releases: mikepenz/FastAdapter

v1.4.0

04 Apr 18:20
Compare
Choose a tag to compare

MIGRATION

  • with v1.4.0 by default a FastAdapter is now withSelectable(false) (for normal lists) if you have selection enabled in your list, add withSelectable(true) to your FastAdapter, FastItemAdapter or GenericFastItemAdapter

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)
  • add new GenericFastItemAdapter THANKS @FabianTerhorst

library-extension

  • add constructor for visibleThreshold to EndlessRecyclerOnScrollListener 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
  • 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()

sample

  • change sample activities to fit new default behavior (see MIGRATION guide)

v1.3.0

29 Mar 17:51
Compare
Choose a tag to compare

library

  • improv the UndoHelper and create a new set of the selections as those are updated later if the actionMode is finished
    • improve behavior mentioned in #94
  • add more tests THANKS @FabianTerhorst

library-extensions

sample

  • improve behavior of the MultiSelectActivity

v1.2.9

23 Mar 19:27
Compare
Choose a tag to compare

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 the ItemAdapter
  • implement new setting to allow only one expanded expandable item inthe list

library-extension

  • update SimpleDragCallback THANKS @FabianTerhorst
    • make directions configurable

sample

  • update sample app dependencies

v1.2.8

22 Mar 17:07
Compare
Choose a tag to compare

library

library-extensions

  • update and improve EndlessRecyclerOnScrollListener THANKS @FabianTerhorst
    • fix NullPointerException
    • determine visibleThreshold automatically

v1.2.7

21 Mar 20:21
Compare
Choose a tag to compare

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

17 Mar 18:47
Compare
Choose a tag to compare

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

16 Mar 18:38
Compare
Choose a tag to compare

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

v1.2.4

11 Mar 14:54
Compare
Choose a tag to compare

library

  • update to latest support libraries v23.2.1

sample

  • update sample app dependencies

v1.2.3

06 Mar 17:07
Compare
Choose a tag to compare

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

general

v1.2.2

01 Mar 19:41
Compare
Choose a tag to compare

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