github mikepenz/FastAdapter v0.7.0

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

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

Don't miss a new FastAdapter release

NewReleases is sending notifications on new releases.