Peter Serwylo 209afd6bf2 Extract switch change listeners to member variables, so that they can be unregistered.
When the view is detached, then the listeners will be unregistered.
This will also help in the future so that they can be temporarily
unregistered when manually changing the state of the switches.
2016-02-28 12:49:50 +11:00
..
2015-10-04 08:14:48 -07:00
2016-02-27 13:02:24 +00:00