mikepenz / MaterialDrawer

The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
https://mikepenz.dev
Apache License 2.0
11.67k stars 2.05k forks source link

ERROR: Failed to resolve: com.mikepenz:materialdrawer-nav:6.1.2 #2522

Closed kareemzok closed 5 years ago

kareemzok commented 5 years ago

Hello,

When I added the libraries to the Gradle file I got the following error :

"ERROR: Failed to resolve: com.mikepenz:materialdrawer-nav:6.1.2"

Any advice, please?

mikepenz commented 5 years ago

This extension did not exist for v6.1.2

You can always look at the state of the library at a specific tag using that tag: https://github.com/mikepenz/MaterialDrawer/tree/v6.1.2

kareemzok commented 5 years ago

Oh so we shouldn't add it because it exists in the main readme file.

Thanks for your help i will try without adding it

mikepenz commented 5 years ago

You should always refer to the README at the state of the release you are gonna use :)

v7 is the current active release. the only reason why it is in RC is because it requires the material components v1.1.0-beta01

v7 will go into a final release as soon as the MDC are v1.1.0-rc01

kareemzok commented 5 years ago

All works now thanks but I have a questions

What is the difference between PrimaryDrawerItem and SecondaryDrawerItem, when should we use each

mikepenz commented 5 years ago

well in general you are fine with Primary items. if you have something less important you can use secondary items. which are slightly smaller