onMoving

public abstract void onMoving(boolean isDragging, float percent, int offset, int height, int maxDragHeight)

[Framework internal only] Called during finger drag (called continuously; isDragging replaces the old onPulling/onReleasing).

Parameters

isDragging

true if finger is dragging, false if rebound animation

percent

Pull percentage, value = offset/footerHeight (range: 0 to (footerHeight+maxDragHeight)/footerHeight)

offset

Pixel offset of pull, range: 0 to (footerHeight+maxDragHeight)

height

Height: HeaderHeight or FooterHeight (offset can exceed height, making percent >1)

maxDragHeight

Maximum drag height. offset can exceed the height parameter but will not exceed maxDragHeight