Android Question on click submenu item in NavDrawer

tarique

Member
I am trying to add on click submenu items in navdrawer with example "navigationView" I am using this command
NavDrawer.NavigationView.Menu.AddWithGroup2(1, 1, 1, "Home", xml.GetDrawable("ic_home_black_24dp")).ItemCollapsed=True
NavDrawer.NavigationView.Menu.AddSubMenu(1,2,1,"new")
but only main menus are appeared .I don't Know how to add onclick submenu. ANyone who has tried successfully then plz share your experience

Regards
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…