如何优化加载图片 #397
huangzhengyi
started this conversation in
General
如何优化加载图片
#397
Replies: 2 comments 6 replies
|
是什么场景需要展示多大的图片? |
2 replies
|
尝试将 100 个图片拼接,使用一个 image 控件显示。 |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
如果直接在UI 线程SetBkImage ,如果图片加载的时候耗时较长,那就会导致UI短暂的卡顿
有什么更好的解决方案,比如先用一个单独的线程先将图片加载到cache,然后再setbkimage ?
All reactions