Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Listview listitem show activityindicator on click

$
0
0

I have a listview where I would like to show an activityindicator on the item being clicked. Is that possible?

I've been able to add an indicator to each item via my template - but how do I show it on click? And then hide it again.

{
    type:'Ti.UI.ActivityIndicator',
    bindId:'loading',
    properties:{
        visible:false,
        style:Titanium.UI.iPhone.ActivityIndicatorStyle.PLAIN,
        touchEnabled:false
        }
}

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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