github mikepenz/MaterialDrawer v7.0.0

latest releases: v9.0.2, v9.0.1, v9.0.0...
4 years ago

WARNING

  • this release is the first release of MaterialDrawer migrated to kotlin.

Changes

  • this release contains a big amount of changes, including many breaking API changes to make its implementation easier, and make the APIs better compatible with kotlin.
  • please note that the interface for items changed in the FastAdapter as such migrating to the new version will require more effort.

Depencencies

The following major dependency versions are required:

implementation "com.mikepenz:iconics-core:4.x.y"
implementation "com.mikepenz:fastadapter:4.x.y"
implementation "com.mikepenz:fastadapter-extensions-expandable:4.x.y"
implementation 'com.mikepenz:materialize:1.x.y'

implementation "androidx.constraintlayout:constraintlayout:2.x.y"
implementation "androidx.drawerlayout:drawerlayout:1.x.y"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.x.y"
implementation "androidx.appcompat:appcompat:1.x.y"
implementation "androidx.cardview:cardview:1.x.y"
implementation "androidx.recyclerview:recyclerview:1.x.y"
implementation "com.google.android.material:material:1.1.y" // v1.1.x is important!

Migration

  • Update FastAdapter to v4 and make all relevant adjustments to the provided DrawerItems
  • Update Android-Iconics to v4
    • Ensure to update Android-Iconics for your project, and use the updated kotlin icon dependencies
    • See the migration notes for Android-Iconics if you run into problems
  • The general interfaces and everything stayed the same, and mainly everything was migrated to kotlin

Don't miss a new MaterialDrawer release

NewReleases is sending notifications on new releases.