Home:ALL Converter>Android Navigation Architecture Component - Is Navigation Architecture Component meant to use Single Activity Only?

Android Navigation Architecture Component - Is Navigation Architecture Component meant to use Single Activity Only?

Ask Time:2018-06-25T11:10:54         Author:I am a Student

Json Formatter

I currently learning on the new Android Navigation Architecture Component (https://developer.android.com/topic/libraries/architecture/navigation/).

I kind of confuse with its motive and concept, here are my uncertainties:

  1. Is Android Navigation Architecture Component designed to eliminate the need of using multiple Activity in a single apps? Which mean, the whole apps just need a Single Activity and all other page will be Fragment?
  2. Does using Multiple Activities in the apps, but in the same time using the Android Navigation Architecture Component to navigate the Fragment actually violate the purpose of Android Navigation Architecture Component?

Example Scenario for Question 2:

enter image description here

Author:I am a Student,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/51015826/android-navigation-architecture-component-is-navigation-architecture-component
yy