Android Question ACSwitch - detect checked state change within DSNavigationDrawer

leitor79

Active Member
Licensed User
Longtime User
Hello,

I'm loading multiple ACSwith items into a DSNavigationDrawer.

I know NavigationItemSelected_Click is fired when I press an item of that menu, but I've noticed that if I press directly over the ACSwitch, that event is not fired (but the switch changes its state)

I think I could add a sub AcSwitch_CheckedChange(Checked As Boolean) in order to intercept the event, but since I have a dinamic amount of switches, and the event declaration doesn't catch the sender, it seems to me that this is not a solution.

I appreciate any ideas.

Regards!
 

leitor79

Active Member
Licensed User
Longtime User
Hi,

Sorry for the question. I've just remembered that the sender is not a parameter, like in visual basic, but just a keyword. I'll try to use that.

Regards,
 
Upvote 0
Top