This project has moved and is read-only. For the latest updates, please go here.

adding a method to detach a command in Mvvm Light (Android)

Dec 12, 2014 at 1:31 PM
Edited Dec 12, 2014 at 4:35 PM
In Mvvmlight for android, I notice that there is a mean to detach a binding through the extension method Detach(). But there is no way to detach a command after setting it with SetCommand() Extension Method. I wonder why this is missing ? Is it too hard to implement such a method through .net reflexion ?
Feb 21, 2015 at 4:06 PM
It's a good point. I added Detach on bindings as an afterthought to provide a way to clean up event handlers. We could absolutely do the same on commands. I'll add it to the backlog.