omadahealth / SwipyRefreshLayout

A SwipeRefreshLayout extension that allows to swipe in both direction
MIT License
963 stars 218 forks source link

Can we make it "more sensitive" #66

Closed miroslavign closed 6 years ago

miroslavign commented 7 years ago

Like, in order to trigger the event, adjust sensitivity to "need less swipe motion" ?

miroslavign commented 7 years ago

My guess is (until I really try it out) to expose private static final int REFRESH_TRIGGER_DISTANCE = 120;

miroslavign commented 7 years ago

Actually, I found it easier to fiddle with private static final float MAX_SWIPE_DISTANCE_FACTOR = .1f; I will implement it and create a PR one of these days

ManoR88 commented 5 years ago

Hello miroslavign can you please say how to use it with this one.