We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
下层布局如果是SwipeRefreshLayout+recyclerview,当下拉刷新完成之后,再滑动列表会出现卡顿丢帧
The text was updated successfully, but these errors were encountered:
问题已经解决,在SwipeRefreshLayout源码中 private void createProgressView() { mCircleView = new CircleImageView(getContext(), CIRCLE_BG_LIGHT); mProgress = new MaterialProgressDrawable(getContext(), this); mProgress.setBackgroundColor(CIRCLE_BG_LIGHT); mCircleView.setImageDrawable(mProgress); mCircleView.setVisibility(View.GONE); addView(mCircleView); } 将mProgress = new MaterialProgressDrawable(getContext(), this);改成mProgress = new MaterialProgressDrawable(getContext(), mCircleView );即可解决。
private void createProgressView() { mCircleView = new CircleImageView(getContext(), CIRCLE_BG_LIGHT); mProgress = new MaterialProgressDrawable(getContext(), this); mProgress.setBackgroundColor(CIRCLE_BG_LIGHT); mCircleView.setImageDrawable(mProgress); mCircleView.setVisibility(View.GONE); addView(mCircleView); }
Sorry, something went wrong.
No branches or pull requests
下层布局如果是SwipeRefreshLayout+recyclerview,当下拉刷新完成之后,再滑动列表会出现卡顿丢帧
The text was updated successfully, but these errors were encountered: