更新时间:2023-12-01 23:03:28
创建 EasyThread
是昂贵的。您应该先创建一个,然后再使用 run
方法。成功回调应该在EDT上。您可以使用 isEDT()
方法轻松验证它。
Creating an EasyThread
is expensive. You should create one and then use the run
method as you do. The success callback should be on the EDT. You can easily verify it using the isEDT()
method.
我建议添加一些日志记录以确保图像已缓存并正确加载。
I suggest adding some logging to make sure that the image is cached and loaded correctly.