hongbii Active Member Licensed User Longtime User Feb 12, 2017 #1 Hi everyone, I have a question about scrollview, Is it the scrollview have to "Pull to refresh" event ? Thank you. Last edited: Feb 12, 2017
Hi everyone, I have a question about scrollview, Is it the scrollview have to "Pull to refresh" event ? Thank you.
KMatle Expert Licensed User Longtime User Feb 12, 2017 #2 hongbii khaw said: Is it the scrollview have to "Push to refresh" event Click to expand... What do you want to do exactly? Upvote 0
hongbii khaw said: Is it the scrollview have to "Push to refresh" event Click to expand... What do you want to do exactly?
hongbii Active Member Licensed User Longtime User Feb 12, 2017 #3 KMatle said: What do you want to do exactly? Click to expand... 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 said: What do you want to do exactly? Click to expand... 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.
KMatle Expert Licensed User Longtime User Feb 12, 2017 #4 Code: 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. Upvote 0
Code: 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.
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2017 #5 [class] Modified CustomListView with "Pull to refresh" feature Upvote 0