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

启动Activity时会有短暂的白屏,demo中也存在这个问题 #733

Closed
xiajie0 opened this issue Jan 9, 2018 · 4 comments
Closed

Comments

@xiajie0
Copy link

xiajie0 commented Jan 9, 2018

RT ,版本号1.2.4

@YoKeyword
Copy link
Owner

YoKeyword commented Jan 9, 2018

v1.2.x加入了队列机制,因为为了线程安全,所有事务都会post到主线程队列

这样在启动Activity时,loadRootFragment()这个事务会post到主线程队列,即:Activity绘制完成后才加载,导致动画时是空白的,因为还没有执行加载

因为考虑到影响不大,所以目前是这样的

后续会考虑优化队列机制,解决该问题

@xiajie0
Copy link
Author

xiajie0 commented Jan 9, 2018

非常感谢作者的解答 @YoKeyword

@xiajie0 xiajie0 closed this as completed Jan 9, 2018
YoKeyword added a commit that referenced this issue Jan 22, 2018
@YoKeyword
Copy link
Owner

@DevXJ 已发布v1.2.5, 解决了该问题 🍺

@xiajie0
Copy link
Author

xiajie0 commented Jan 22, 2018

@YoKeyword 收到,谢谢🍺

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