Skip to content

v1.5.0

Compare
Choose a tag to compare
@mikepenz mikepenz released this 10 May 15:48
· 1310 commits to develop since this release

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