Basic question here, from what I initially learned about Fragments , they had to be linked to an activity. But using the 4.x version of Android studio I get a FirstFragment and a SecondFragment that do not seem to be attached to any activity. They do however are part of the nav_graph.xm , is it because they are part of the navigation graph that they don’t have to be connected to MainActivity ?