Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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);
    });
— asked November 21st 2010 by MAURIZIO SILIANI
  • coverflow
  • coverflowview
1 Comment
  • We are having the same problem with any Touch/Tap based events attached to a coverflowview. They are just not being thrown.

    — commented January 31st 2011 by Nat Fast

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.