private void changeRunStateByVisibility(int visibility) {
        if (mLoadingDrawable == null) {
            return;
        }
        if (visibility == VISIBLE) {
            if (mNeedRun) {
                start();
            }
        } else {
            if (mLoadingDrawable.isRunning()) {
                mNeedRun = true;
                mLoadingDrawable.stop();
            }
        }
    }
In this we set LoadingDrawable really

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