In android, I am making a one app. When the person first opens, he can choose whether to select "I am a student" or "I am a teacher". Based on this selection, the entire app will run and have different functionality, different Firebase project connection, etc.
I thought I would create Phone/Tablet modules - ":student" and ":teacher" and call them from the ":app" module but for that, I need 3 apps to be installed, which is pointless.
What I should do so that I keep both student's and teacher's code independent from each other and view them inside the same application?