Actually I have set of Images added to a view
var imagestackv=Ti.UI.createView({ width:0, height:0, zIndex:9999 }) imagestackv.add(ImagesViewArray)now the imagearray changes dynamically so i have add new set of images to same view...
how can i do this ? help me
1 Answer
Because when you add new elements without removing the old, they are appended. 1 + 1 = 2 not 1. Use the remove() method of the view to remove the elements which you've already added. Just pass those elements back in to remove them.
Your Answer
Think you can help? Login to answer this question!