@Override
    protected void onVisibilityChanged(View changedView, int visibility) {
        super.onVisibilityChanged(changedView, visibility);
        changeRunStateByVisibility(visibility);
    }
In this we set LoadingDrawable really

@param drawable {@link LoadingDrawable}
caprice/ui/src/main/java/net/qiujuer/genius/ui/widget/Loading.java