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

QMUIFragment 里面有RecyclerView 加载数据后 退出有闪烁卡顿的情况 #209

Closed
4 tasks done
hewking opened this issue Mar 21, 2018 · 4 comments
Closed
4 tasks done

Comments

@hewking
Copy link

hewking commented Mar 21, 2018

运行环境

  • 设备型号:如:Nexus 6
    一加5
  • 设备系统版本:如 Android 5.0
    7.1
  • Gradle 版本:如 2.3.0
    4.4
  • QMUI Android 版本:1.x.x
    最新

具体问题描述

如果QMUIFragent 里面是静态页面就正常情况,正常退出正常。如果里面有recyclerview 并且加载了数据。就会出现退出动画卡顿闪烁的情况,很不自然。你有碰到这个情况吗? 我也想问一下 异步加载数据也会导致进入动画卡顿闪烁

问题截图

异常日志(堆栈)

@cgspine
Copy link
Collaborator

cgspine commented Mar 21, 2018

如果在动画过程中进行数据渲染,是会造成卡顿的。读书项目是监听动画完成再渲染数据。这个后续QMUIFragment可以提供支持。

@hewking
Copy link
Author

hewking commented Mar 21, 2018

嗯 我也在想动画结束在渲染,方便贴一些解决监听的代码吗 谢谢啊

@cgspine
Copy link
Collaborator

cgspine commented Mar 21, 2018

刚刚发布了 arch:0.0.2。 添加了 runAfterAnimation 方法。可以试试

@hewking
Copy link
Author

hewking commented Mar 21, 2018

好的 多谢 我试试

@hewking hewking closed this as completed Mar 21, 2018
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

2 participants