I need to put Switch inside item in navigation drawer. I\'m using new design support library, but I cannot find if it is posibble at all. When using
android
For those of you using Kotlin Extensions
Kotlin Extensions
nav_view.menu.findItem(R.id.nav_notifications_switch) .actionView .toggleSwitch .setOnCheckedChangeListener { _, isChecked -> }