ListView how to trigger event when horizontal swipe complete or end RRS feed

  • Question

  • Hi,

    how do I listen to horizontal swipe completed ListView event in javascript?

    Also how do I listview.ensureVisible(index) animating, currently it just jump to sepcified item without animation.

    All I want is when user horizontal swipe a grouped listview, I want make sure the nearest (left) group item should be visible and left aligned with animation if that item is not fully visible (left)



    Mango Boy.

    Friday, August 10, 2012 6:54 PM


  • Hi Mango,

    You option for gestures is to provide your own gesture handler however I don't think that will accomplish what you need.  There is no easy way to intercept the animation to determine when it has finished because it is embedded with the control.  Is there a compelling reason to make your application behave differently from every other application that is using this control?  What is your scenario?


    Jeff Sanders (MSFT)

    Wednesday, August 15, 2012 11:58 AM