Android Question Scrollview "Push to refresh" event?

hongbii khaw

Member
Licensed User
Longtime User
Hi everyone,
I have a question about scrollview,
Is it the scrollview have to "Pull to refresh" event ?
Thank you.
 
Last edited:

KMatle

Expert
Licensed User
Longtime User
B4X:
Sub ScrollView1_ScrollChanged(Position As Int)
  
End Sub

This Sub is called when the user scrolls. Just check the position and do you stuff. Check if the value is < 0 or > panel.height to start the refresh/update.
 
  • Like
Reactions: eps
Upvote 0
Top