public DrawerItem setRoundedImage(Context context, Bitmap image, int imageMode) {
        return setImage(new RoundedAvatarDrawable(new BitmapDrawable(context.getResources(), image).getBitmap()), imageMode);
    }
public DrawerItem setRoundedImage ( Context context , Bitmap image , int imageMode ) { return setImage ( new RoundedAvatarDrawable ( new BitmapDrawable ( context . getResources ( ) , image ) . getBitmap ( ) ) , imageMode ) ; }
Sets a rounded image with a given image mode to the drawer item

@param image     Image to set
@param imageMode Image mode to set