1. Are you ready for the Galaxy S20? Here is everything we know so far!

Multiple Navigation Activities in App in different packages

Discussion in 'Android Development' started by ThomasGLu, May 20, 2021.

  1. ThomasGLu

    ThomasGLu Lurker
    Thread Starter

    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 (Text):
    1. java
    2. |_ com.myapplication.businessapplication
    3.    |_ employeetool
    4.       |_ EmployeeNavigationActivity
    5.    |_ managertool
    6.       |_ ManagerNavigationActivity
    7. |_ MainActivity
    Basically, I want different classes of people to see different NavigationViews, and wanted the logic to be separated from each other.

    1. Download the Forums for Android™ app!



Share This Page