In a widget I have a ScrollableView where I need to change views. It stopped to work from version 5.1.0.
When I set the "views" property with another collection of views the app remains blocked, without any error.
I tryed other solution (like insertAt or replaceAt) but I cannot dynamically change views anymore.
The widget is this one:
And the code:
var index = 0;
var newView = Ti.UI.createView();
var views = $.scrollableView.views;
views[index] = newView;
$.scrollableView.views = views;