@@ -117,6 +117,9 @@ public class SideMenu extends DrawerLayout {
}
private void setStyle(SideMenuParams params) {
+ if (params == null) {
+ return;
+ }
if (params.disableOpenGesture) {
setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, params.side.gravity);