I use DrawerLayout
and Hamburger menu in my App. I migrated my App to Androidx
. Everything it seems right but DrawerLayout
. It doesn't know DrawerLayout
Class.
What I have to do?
AndroidX has its implementation of DrawerLayout
.
Add implementation "androidx.drawerlayout:drawerlayout:1.0.0"
to your module's dependencies (you can check Google's Maven repository catalog to confirm the available versions).