Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelectedListener {
- val mNavigationView = findViewById<View>(R.id.nav_view) as NavigationView
- mNavigationView.setNavigationItemSelectedListener(this)
- override fun onNavigationItemSelected(item: MenuItem): Boolean {
- Log.d(LOG_TAG, "hello there")
- return true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement