Vidyalelo
Computer Science · Q174

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 174

Q174

How do you enable your project to use navigation components?

A.
Make sure every Activity class extends the class NavigationActivity.
B.
Use the NavigationController class as the launch activity.
C.
Add uses-navigation to the AndroidManifest.xml file.
D.
Add dependencies for navigation-fragment-ktx and navigation-ui-ktx in the build.gradle (module) file.
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board