WTF, I need to use `object` as instance variable :...
# getting-started
p
WTF, I need to use
object
as instance variable ­čÖé https://kotlinlang.org/docs/reference/object-declarations.html
Copy code
navigationView.setNavigationItemSelectedListener(object : NavigationView.OnNavigationItemSelectedListener {
            override fun onNavigationItemSelected(item: MenuItem): Boolean {
                return onNavigationItemSelected_(item)
            }
        })