Androidx Navigation View - `setNavigationItemSelectedListener` Doesn't Work
问题 What am I doing? I have been trying to work with Androidx Navigation Drawer( <com.google.android.material.navigation.NavigationView> ). I've read the documentation Here, which says that for handling item selections we can use setNavigationItemSelectedListener . Note: I am using JetPack's Navigation Component as well. Below is: main_activity.xml <?xml version="1.0" encoding="utf-8"?> <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app