Is it possible to make one NavigationDrawable for all Activity or not [Kotlin]?

I have 5 Activitys in which I am using NavigationDrawer and they occupy a large part of the code, I would like to shorten the code using a NavigationDrawer one for all, Can I implement it ??
March 12th 20 at 08:02
1 answer
March 12th 20 at 08:04
The most banal - to make through inheritance.
But it is better to use one activity and switch the drawer using fragments.

Find more questions by tags KotlinAndroid