D devmobile Active Member Licensed User Jun 24, 2017 #1 Hello I make library that detect user scrolling(scrollview) to bottom(looklike pull to refresh) I dont have any problem in detect scroll to bottom for detect Pull to refresh Note : I dont want to use any library But have problem here. When user pull to bottom and release it,scollview scolled to zero position that i dont want to scrolled until i scrolled it programming Code: Copy Sub sv_ScrollChanged(Position as int) If Position < -100 then 'detect pull to refresh End if
Hello I make library that detect user scrolling(scrollview) to bottom(looklike pull to refresh) I dont have any problem in detect scroll to bottom for detect Pull to refresh Note : I dont want to use any library But have problem here. When user pull to bottom and release it,scollview scolled to zero position that i dont want to scrolled until i scrolled it programming Code: Copy Sub sv_ScrollChanged(Position as int) If Position < -100 then 'detect pull to refresh End if
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2017 #2 You can see an example of implementing pull to refresh here: [class] Modified CustomListView with "Pull to refresh" feature Upvote 0
You can see an example of implementing pull to refresh here: [class] Modified CustomListView with "Pull to refresh" feature