Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mAnimList中的数据一直增加 #7

Open
xingstarx opened this issue Sep 24, 2016 · 0 comments
Open

mAnimList中的数据一直增加 #7

xingstarx opened this issue Sep 24, 2016 · 0 comments

Comments

@xingstarx
Copy link

mAnimList每次执行完一个循环后,就会添加四个元素,一直死循环的话,animatorList不会存放太多的animator吗。

可以在SlackLoadingView第302行代码中

lineWidthAnim.addListener(new AnimatorListener() {
            @Override
            public void onAnimationEnd(Animator animation) {
                Log.d("@=>", "动画4结束");
                if (mStatus == STATUS_LOADING) {
                    mStep++;
                    mAnimList.clear();//加上这行吗
                    startCRLCAnim();
                }
            }
        });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant