Switch triggers change on window opening and animates if value=true
This happens when running the app on iPhone simulator and on the actual device too. Switches are part of a TableViewRow.
What happens exactly is that a change is triggered on the switch as soon as the window is loaded on screen. It doesn't matter if the value is true or false.
What this causes is that any switch with a default value of true will animate from "off" to "on" as the user scrolls or loads a window. This can cause confusion on users, making them think they clicked on the switch by mistake while scrolling.
Anyone found any solution to that? I'm specially interested in the switches not animating to "on" state when the window loads. It didn't happen in earlier versions of Titanium, on the old table creation methods, so I guess there is a solution we haven't been able to find.
Thanks!