Suppose I have a Fragment called Fragment MenuFragment and it have R.id android:id="@+id/MenuFragment" inside nav_graph.xml
Question 1: Can I programmatically find R.id if I have just MenuFragment.class ?
Question 2: Can I programmatically get MenuFragment.class if I have just R.id.MenuFragment ?