net.simonvt.menudrawer.SlidingDrawer
is not working in Android Kitkat. But working in Android Lollipop.
Getting error
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
I had set multiDexEnabled
true in build.gradle
also added the follwing in application
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
I have a custom application class defined in Android Manifest, extend it from MultiDexApplication instead of Application solved the issue.