Android Question Make manual pull for refresh

devmobile

Active Member
Licensed User
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
B4X:
Sub sv_ScrollChanged(Position as int)
If Position < -100 then
    'detect pull to refresh
End if
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…