Skip to content

v0.7.0

Compare
Choose a tag to compare
@mikepenz mikepenz released this 11 Jan 20:25
· 1764 commits to develop since this release

library

  • add some more types so everythign through the FastAdapter is typed (if type is provided)
  • also type click listeners so they will return the type of the adapter else IItem
  • document all remaining methods / properties
  • improve selection behavior. there are now 2 different variants of selection. you can toggle this via withSelectWithItemUpdate (where false == default -> variant 1)
    • direct selection via the view "selected" state, we also make sure we do not animate here so no notifyItemChanged is called if we repeatly press the same item
    • we select the items via a notifyItemChanged. -> this will allow custom selected logics within your views (isSelected() --> do something...) and it will also animate the change via the provided itemAnimator. because of the animation of the itemAnimator the selection will have a small delay (time of animating)

sample

  • use latest MaterialDrawer snapshot
  • showcase compatiblity with MaterialScrollBar (added to SimpleActivity)
  • expand a item to make example look a bit more interesting
  • showcase typed clicklistener in some samples