github mikepenz/FastAdapter v1.5.0

latest releases: v5.7.0, v5.6.0, v5.5.1...
7 years ago

general

  • update to latest android gradle build tools v2.1.0
  • add more test cases

library

  • add setter for to configure the new StateManagment, or use the previous variant
  • fix getExpandedItemsCount in the new StateManagment
  • implement new switch between the DEFAULT PositionBasedStateManagement (very fast and highly optimized for lists up to Integer.MAX_INT) and the NEW identifier based StateManagment which will allow new behaviors, but has to iterate over the whole list to get the selections and the expanded elements --> not as performant for long lists. Use it for lists < CRITICAL_LIMIT ?! not tested
    • in the NEW StateManagment we can keep the selection even when filtering
  • add new helper method to the AdapterUtil to get all items including subItems
  • deselect() will now also deselect selections in subItems (only in the new StateManagement)
  • new select() method which will select all items (in the new mode also subItems)

library-extensions

  • update TwoLineItem, ThreeLineItem
    • add getter for description

sample

  • improve behavior of the sample app

Don't miss a new FastAdapter release

NewReleases is sending notifications on new releases.