MaterialDrawer V0.9 (Mike Penz)

This thread is about the beta phase of my newest wrap. It is a wrap for this Github project: Material Drawer by Mike Penz

At present the library is based on Version 5.8.1 of the Github project


MaterialDrawer
Author:
Mike Penz (Github) / DonManfred (wrapper)
Version: 0.9 beta

Attachments:
MaterialDrawerEx1.zip
this contains the (most probably a bit chaotic) code for the example i build so far.
So i just tried out how work this, and this and the code came up chaotic....
I´m sure more examples will follow in future. Maybe made from one of the beatestes? (grins)

MaterialDrawerResources.zip
this zip contains the folder "resource"
copy this folder to your Project or maybe to your additional libraries folder.
you need to adapt the #additionalres directive to match your folder

MaterialDrawerFONTS1.zip and MaterialDrawerFONTS2.zip
Copy all files to your additional libs folder

MaterialDrawerAAR.zip
Contains all needed AAR files. Copy them all to your additional libs folder

The library depends on some other JARs from the google Maven repository.

Post any questions regarding this librarywrap in this Thread please.

Note that this library wrap is in development and subject to be changed before releasing the library.

The example at present state shows all i have tried so far.
Some features are not tested at all.
Some features does not work as yet. The profile and everything about the profileheaderdraweritem for example.


Known problems:
- For me the Drawer will show behind the Actionbar. Due to this the layout in the top area is not placed correctly.
I think it must be changed in the theme somehow but i´m sorr, i do not know how to fix this. Any help on this is highly appreciated!



This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it. I spend A LOT of time to build this library.

Please click here to donate for my work to write the wrapper (You can donate any amount you want :))
Error:
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 456)
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mikepenz/fastadapter/adapters/ItemAdapter;
    at de.donmanfred.DrawerBuilderWrapper.Initialize(DrawerBuilderWrapper.java:74)
    at de.donmanfred.MaterialDrawer.main._activity_create(main.java:456)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
    at de.donmanfred.MaterialDrawer.main.afterFirstLayout(main.java:104)
    at de.donmanfred.MaterialDrawer.main.access$000(main.java:17)
    at de.donmanfred.MaterialDrawer.main$WaitForLayout.run(main.java:82)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6669)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.ClassNotFoundException: com.mikepenz.fastadapter.adapters.ItemAdapter
    at java.lang.VMClassLoader.findLoadedClass(Native Method)
    at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 14 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mikepenz/fastadapter/AbstractAdapter;
    ... 14 more
Caused by: java.lang.ClassNotFoundException: com.mikepenz.fastadapter.AbstractAdapter
    at java.lang.VMClassLoader.findLoadedClass(Native Method)
    at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 14 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/widget/RecyclerView$Adapter;
    ... 14 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.RecyclerView$Adapter" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/de.donmanfred.MaterialDrawer-juci-__aJK0ChmN_cC4Jjg==/base.apk"],nativeLibraryDirectories=[/data/app/de.donmanfred.MaterialDrawer-juci-__aJK0ChmN_cC4Jjg==/lib/x86_64, /system/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 14 more
main_activity_create (java line: 456)
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mikepenz/fastadapter/adapters/ItemAdapter;
    at de.donmanfred.DrawerBuilderWrapper.Initialize(DrawerBuilderWrapper.java:74)
    at de.donmanfred.MaterialDrawer.main._activity_create(main.java:456)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
    at de.donmanfred.MaterialDrawer.main.afterFirstLayout(main.java:104)
    at de.donmanfred.MaterialDrawer.main.access$000(main.java:17)
    at de.donmanfred.MaterialDrawer.main$WaitForLayout.run(main.java:82)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6669)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.ClassNotFoundException: com.mikepenz.fastadapter.adapters.ItemAdapter
    at java.lang.VMClassLoader.findLoadedClass(Native Method)
    at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 14 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mikepenz/fastadapter/AbstractAdapter;
    ... 14 more
Caused by: java.lang.ClassNotFoundException: com.mikepenz.fastadapter.AbstractAdapter
    at java.lang.VMClassLoader.findLoadedClass(Native Method)
    at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 14 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/widget/RecyclerView$Adapter;
    ... 14 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.RecyclerView$Adapter" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/de.donmanfred.MaterialDrawer-juci-__aJK0ChmN_cC4Jjg==/base.apk"],nativeLibraryDirectories=[/data/app/de.donmanfred.MaterialDrawer-juci-__aJK0ChmN_cC4Jjg==/lib/x86_64, /system/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 14 more

How Can I Solve My App Crash?
 

DonManfred

Expert
Licensed User
Longtime User
How Can I Solve My App Crash?
1. not using this library
2. Forgot to add the aar from the zip and add a refrence to it?

Under the line i suggest NOT to use this library anymore. There are better alternatives.
 
Top