Hello, you need to run the ContactsDetail Navigati...
# android
j
Hello, you need to run the ContactsDetail NavigationDrawer activity from the MenuMain NavigationDrawer.I write a bug. How to fix it? Thank you https://hastebin.com/xanowezila.cpp
stackoverflow 5
r
@jurajsolarml check on line number 61. Is that valid class?
j
ok, I'm solving it :))
r
Great! So, what's when wrong?
@jurajsolarml
j
Rightly should be: override fun onNavigationItemSelected(item: MenuItem): Boolean { // Handle navigation view item clicks here. when (item.itemId) { R.id.navmenu_main_contacts -> { // Handle the Contacts action val intent = Intent(this, ContactsDetail::class.java) startActivity(intent) //activity_contacts_detail } R.id.navmenu_main_mapa -> { val intent = Intent(this, MapsActivity::class.java) startActivity(intent)
r
Cool man
j
­čĹŹ