1. Are you ready for the Galaxy S20? Here is everything we know so far!

Swipe with OnFling in Listview

Discussion in 'Android Development' started by Ponnangan, Dec 20, 2019.

  1. Ponnangan

    Ponnangan Lurker
    Thread Starter

    I am working on swipe between app screens. App screen has list view with vertical scrolling. I want to swipe horizontally(left to right & right to left)
    Used Library for list view: com.handmark.pulltorefresh.library, implemented swipe with OnFlingListener.

    When I try to swipe from right to left, it able to swipe. But in sometime swipe from right to left and hold the finger, it detects swipe as left to right.

    onInterceptTouchEvent override method called automatically for left to right swipe.

    How to solve this issue.

    If anyone please help me to solve this
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...