Releases: mikepenz/MaterialDrawer
Releases · mikepenz/MaterialDrawer
v2.7.1
v2.7.0
v2.6.9
v2.6.8
v2.6.7
v2.6.6
- new feature -->
buildView()
** this will return also a Drawer.Result object. The difference the returned result just contains the sliderLayout view which can be added to any view ;). So yeah now you can do everything with the drawer ;). - new feature --> stickyDrawerItems
** they are added to the footer. use them like normal drawer items. their onItemClick event will return less data as normal items - some fixes
- update android-iconics (tried to fix alpha issue on pre api level 21 devices --> but
StateListDrawable
has bugs on those devices) - FIX #167
v2.6.5
v2.6.1
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