Releases: mikepenz/MaterialDrawer
Releases · mikepenz/MaterialDrawer
v2.6.0
- 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
andOnAccountHeaderSelectionViewClickListener.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 theonProfileChanged
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
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
- 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