onFooterMoving

public abstract void onFooterMoving(RefreshFooter footer, boolean isDragging, float percent, int offset, int footerHeight, int maxDragHeight)

手指拖动上拉(会连续多次调用,添加isDragging并取代之前的onPulling、onReleasing)

Parameters

footer

尾部

isDragging

true 手指正在拖动 false 回弹动画

percent

下拉的百分比 值 = offset/footerHeight (0 - percent - (footerHeight+maxDragHeight) / footerHeight )

offset

下拉的像素偏移量 0 - offset - (footerHeight+maxDragHeight)

footerHeight

高度 HeaderHeight or FooterHeight

maxDragHeight

最大拖动高度