setDragRate

public RefreshLayout setDragRate(float rate)

Set the damping effect. Ratio of displayed drag height to actual drag height (default 0.5).

Return

RefreshLayout

Parameters

rate

ratio = (The drag height of the view)/(The actual drag height of the finger) Ratio = view drag height / finger drag height