Skip to content

Releases: mikepenz/MaterialDrawer

v2.6.0

26 Mar 23:55
Compare
Choose a tag to compare
  • Load images via URL FIX #150
//initialize and create the image loader logic
//THIS IS REQUIRED AND WILL DEFINE THE LOADER LOGIC
DrawerImageLoader.init(new DrawerImageLoader.IDrawerImageLoader() {
    @Override
    public void set(ImageView imageView, Uri uri, Drawable placeholder) {
        Picasso.with(imageView.getContext()).load(uri).placeholder(placeholder).into(imageView);
    }

    @Override
    public void cancel(ImageView imageView) {
        Picasso.with(imageView.getContext()).cancelRequest(imageView);
    }
});
//After that you can just create profiles with urls as iamge
  • Modify the OnAccountHeaderListener.onProfileChanged and OnAccountHeaderSelectionViewClickListener.onClick events. They will now allow you to return an boolean.
    This boolean indicates if the event was consumed. Return false if you want the drawer to get closed. Also the onProfileChanged event will now contain a boolean
    variable which indicates if the clicked profile is the current profile.
  • Text is now always on the left FIX #136
  • You can now also set if your application has a translucent navigation bar FIX #155
  • Also some more fixes mentioned by @alorma

v2.5.7

24 Mar 22:20
Compare
Choose a tag to compare

FIX #145
FIX #139

Merge improve gitignore by @alorma
Merge code formatting by @tilal6991
THANKS

v2.5.6

23 Mar 22:14
Compare
Choose a tag to compare
  • FIX #144
  • (PARTIALLY) FIX #136
  • some other fixes

v2.5.5

19 Mar 17:42
Compare
Choose a tag to compare

v2.5.4

18 Mar 19:23
Compare
Choose a tag to compare

v2.5.3

17 Mar 21:40
Compare
Choose a tag to compare
  • FIX #121
  • FIX #117
  • FINAL FIX for #76 -- Add code sample

v2.5.2

17 Mar 21:39
Compare
Choose a tag to compare

v2.5.1

16 Mar 19:21
Compare
Choose a tag to compare
  • FIX #108
  • FIX #76 (at least add the onClickListener to the ActionBarDrawerToggle if it was set)
  • FIX #115
  • FIX #108
  • FIX #101
  • FIX #112

v2.5.0

15 Mar 16:53
Compare
Choose a tag to compare
  • MaterialDrawer now uses the ScrimsInsetLayout (used in the Google IO 2014 app)
  • Some more Material Design Guideline improvements (Header 9/16, Drawer width)
  • Fix android issue which caused some lag if you tried opening the drawer
  • Use new BezelImageView (Base is by Google used in the IO 2014 app, extended by me)
  • Hide first and/or second line of AccountSwitcher selection text (name / email)
  • update to api target 22 and newer support libraries
  • disable touch feedback on the profile images and selection if you the selection is disabled
  • add KeyboardUtil to the MaterialDrawer which helps with long lists including a textView (fix (or workaround) a Android issue)
  • add new method to set the StatusBarColor dynamically
  • improve selection layout for bigger texts

v2.0.7

12 Mar 20:29
Compare
Choose a tag to compare
  • update Android-Iconics. This version now supports transparent colors
  • implement fallback to prevent coding errors in the ProfileDrawerItem