Skip to content

v3.0.0

Compare
Choose a tag to compare
@mikepenz mikepenz released this 24 May 17:20

UPGRADE NOTES

  • maven group:artifactId were changed to com.mikepenz:materialdrawer
  • the onItemClick now returns a boolean stating if the event was consumed
  • renamed the Drawer to DrawerBuilder and the Drawer.Result to Drawer
  • renamed the AccountHeader to AccountHeaderBuilder and the AccountHeader.Result to AccountHeader

NEW FEATURES

  • new functions to set the selection in the StickyFooter
  • the onItemClick listener now returns a boolean
  • add option to animate the list on first show, and/or if the profile items are switched/shown

FIXES

  • if the profileItem was clicked first switch the drawer content back and then firing the event
  • fix issue that the profile icon was not set with bitmaps #326
  • fix click on compact accountheader was not working #340
  • draw the selector only with API > 21 on top of the list. it looks only good with a Ripple
  • remember the selection even with a footer #327

REFRACTOR

  • move some methods from the Drawer to the DrawerUtils
  • change the Drawer to the new DrawerBuilder. It's .build() method will result in a Drawer object
  • change the AccountHeader to the new AccountHeaderBuilder. It's .build() method will result in a AccountHeader object

UPDATES