My situation is this. Show a ListView on the Base Activity. Launches settings activity from it. On the callback function of Settings Activity close,I am going to recompose ListView.
var callback = function(e) {
Titanium.API.info("Items Count : " + scrollView.children.length);
Ti.App.indicator.show();
createScrollview(win, '1', db, Ti.App.country, Ti.App.scrollView);
};
On console , After showing "Items Count:.." , indicator must be showed at once. But it is showed after serveral seconds.
PS: This is a non-alloy project. This situation is only for android.