setDragRate

public RefreshLayout setDragRate(float rate)

Set the damping effect. 显示拖动高度/真实拖动高度 比率(默认0.5,阻尼效果)

Return

RefreshLayout

Parameters

rate

ratio = (The drag height of the view)/(The actual drag height of the finger) 比率 = 视图拖动高度 / 手指拖动高度