S
S
sanke462018-10-09 22:18:10
Android
sanke46, 2018-10-09 22:18:10

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

I have 5 Activities in which I use NavigationDrawer and they take up most of the code, I would like to shorten the code using NavigationDrawer one for all, Can I implement this ??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2018-10-09
@sanke46

The most banal - to make through inheritance.
But it's better to use one activity and switch fragments through drawer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question