onFinish

public abstract int onFinish(RefreshLayout refreshLayout, boolean success)

[Framework internal only] Called when animation ends.

Return

Time needed for finish animation. Returning Integer.MAX_VALUE cancels the finish event and keeps the current state

Parameters

refreshLayout

RefreshLayout

success

Whether data was refreshed or loaded successfully