Android Question [B4X] xCustomListView trigger when the user has released the list

Discussion in 'Android Questions' started by Alexander Stolte, Jul 25, 2018.

  1. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    Hello,

    i want to trigger, when the user has released the list.

    how can i do that?

    i have try with a panel under the list, but this is not triggered. Then i have try with the B4XViewEvent, but then you cant scroll the list anymore.

    Greetings
     
  2. Peter Simpson

    Peter Simpson Expert Licensed User

    A trigger, what do you mean exactly, what are you trying to trigger or actually do...
     
  3. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    i'm trying since 3 weeks, to create a pull to refresh animation with a "normal" user handle. I'm not a fan to scroll down the list before i can add a refreshing panel on top.
    And then is the Problem on a big list, if the user is scrolling up fast and the list scrolls to the first item, in this case the refreshing item, then the list is updating without the user wanting it. I cant handle these things right in the xcustomlistview.

    And with a event that triggerd the up gesture, then i can remove the refreshing panel if no fingers left on the list and I can prevent these things. And if the user is scrolling the refreshing item to the half and then release his finger then i want to scroll to the first item, because he dont want to refresh.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Alexander Stolte likes this.
  5. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    Nice, thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice