Update a View of a Titanium.UI.ScrollableView

You must Login before you can answer or comment on any questions.

Hey people,

i need update/edit a view. i have a Titanium.UI.ScrollableView and 5 Views - i will add a player after creating at the 3 view. like: scrollView.views[3].add(XY);

how can i do this? - it is no way to update all views with setViews() thanks!

1 Answer

works fine:

scrollView.views[e.currentPage].add(Ti.UI.createLabel({ text:"ASHJDBJKASNDKJ" }));
nothing:
scrollView.views[e.currentPage].add(Ti.Media.createVideoPlayer({ contentURl: "XY", top: topPlay, height: "60%", width: "60%", scalingMode: Titanium.Media.VIDEO_SCALING_ASPECT_FIT, autoplay: false }));
:((

Your Answer

This question has been locked and cannot accept new answers.