-1

I have code that reloads images via HTTP from the main thread and displays them, right after setting up the layout.

This is now deprecated since network access must no longer be done from the main thread.

At first, I changed it to load the images from a a background thread and then update the ImageViews. But, the user experience changed since the images now "pop out."

Is it possible to make the images load seamlessly? Or, should I display a progress bar or status message while the images reload.

4

1 回答 1

1

无缝加载需要延迟显示整个用户界面,这可能不是你想要的。加载图像后,您可以使用动画淡入图像。

于 2012-06-22T08:45:17.397 回答