<How to handle switch button in navigation drawer-...
# stackoverflow
u
How to handle switch button in navigation drawer- Android Kotlin I have a navigation Drawer menu in my app and in one item i added a switch button. However, i couldn't reach the switch button to handle it. Here is my Switch layout; (This switch button will be open or close notifications. In the image below, "Bildirimler" means notifications in Turkish.) My Menu xml, And my Main Activity, class MainActivity : AppCompatActivity() { private lateinit var...