@Override
    public void offsetTopAndBottom(int offset) {
        mOffset += offset;
        invalidateSelf();
    }
android-PullRefreshLayout
Created by baoyz on 15/9/20.
library/src/main/java/com/baoyz/widget/SmartisanDrawable.java