Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (complete)
Viewing all articles
Browse latest Browse all 20

How to make sure code is executed after the animation of a tableView row update?

$
0
0

Hey Y'all,

I have a feeling that some code may be executing parallel to animations playing, so I wanna make sure that it occurs after the animation and this is what I have tried to use so far...

tableView.updateRow(rowNum, newRow,
{animationStyle:Titanium.UI.iPhone.RowAnimationStyle.LEFT}, 
function() {
     //code to be executed after animation
});

Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>