• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Multiple Navigation Activities in App in different packages

ThomasGLu

Lurker
May 20, 2021
1
0
Is there any way to implement multiple navigation activities in an app to correspond with different sections?

I've tried to put them in different sections like so, but cannot create a second instance even in a different package.

Code:
java
|_ com.myapplication.businessapplication
   |_ employeetool
      |_ EmployeeNavigationActivity
   |_ managertool
      |_ ManagerNavigationActivity
|_ MainActivity

Basically, I want different classes of people to see different NavigationViews, and wanted the logic to be separated from each other.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones