CoverFlowView not throwing swipe and touchmove/end/start events
I need to set the correct label under a coverflowview, not only after a change event (which works), but also during a swipe.
But swipe events are not catched.
This is my code. Any help? Thanks in advance.
cfview = Titanium.UI.createCoverFlowView({
images:imgs,
backgroundColor:'#000'
});
cfview.addEventListener('change',function(e) {
setlabel(e.index);
Ti.API.info("change: "+e.index+", selected is "+cfview.selected);
});
cfview.addEventListener('swipe',function(e) {
setlabel(cfiew.selected);
Ti.API.info("swipe: selected is "+cfview.selected);
});