Skip to content

Releases: mikepenz/MaterialDrawer

v3.0.4

28 May 20:53
Compare
Choose a tag to compare
  • switch back drawer item list to the normal list if it was opened and a profile head is clicked
  • additional null check in the AccountHeader to prevent a possible exception
  • realign the tiny caret in the AccountHeader to be perfect with the guidelines
    ** FIX #365

v3.0.3

26 May 17:10
Compare
Choose a tag to compare
  • change the profile logic to use the setTag(identifier, tag) method to add (theoretically) support for other image loading libs
  • fix logic of getFooterPositionFromIdentifier
    ** FIX #354
  • fix updateProfileDrawerItem method. fix its logic, improve the update behavior
    ** FIX #352
  • reset the icon variables if a new item is set for a profile

v3.0.2

25 May 13:29
Compare
Choose a tag to compare
  • Fix issue which caused the sticky footer to stay hidden after a new profile was chosen
    ** FIX #350

v3.0.1

25 May 11:29
Compare
Choose a tag to compare
  • add function to fire the onProfileChanged listener with the setActiveProfile method

v3.0.0

24 May 17:20
Compare
Choose a tag to compare

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

v2.9.8

20 May 18:20
Compare
Choose a tag to compare

FEATURES

  • make ToggleDrawerItem and SwitchDrawerItem selectable .withCheckable(true)
  • make drawables reusable by calling .mutate()

FIXES

  • improve header height calculation for small devices
  • improve header width calculation on API LEVEL 10 devices

v2.9.7

13 May 19:17
Compare
Choose a tag to compare
  • FIX #313
  • FIX #312
  • FIX #315
  • New thing ;)
    ** The account header will now act like the header in the Google IO App. on Devices >= 21 the whole header has the ripple and is clickable

v2.9.6

12 May 17:48
Compare
Choose a tag to compare

many many fixes this time ;)

v2.9.5

10 May 18:51
Compare
Choose a tag to compare

FIX #287
FIX #298
FIX #238
FIX #284

  • Improve the tinting functionality. I hope it is now working as expected for everyone and everything ;)
    ** I've also disabled it by default again, starting with this release. It is just a simple .withIconTinted(true) to enable it for a DrawerItem

v2.9.2

02 May 16:45
Compare
Choose a tag to compare
  • drawable tinting is now on by default. If you don't want it to be active please disable it with withTintSelectedIcon(false)
    I hope this change fixes issues for many devs out there.
    #275, #279
  • withIcon now also accepts bitmaps
  • fix issue with multiple selected items #281