Android Question Scrollview "Push to refresh" event?

hongbii

Active 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:

hongbii

Active Member
Licensed User
Longtime User
What do you want to do exactly?
I'm sorry the title should be "Pull to refresh",
When the user pull the scrollview down, i hope there's an event rise so i can refresh or do something else to the scrollview.
 
Upvote 0

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