TTTableSubtitleItem 滚动时不显示 defaultImage
我有一个 TTTableSubtitleItem 来显示简单的人员列表。我使用空头像图标作为默认图像来显示该人的头像。当页面首次加载时,空头像会作为占位符正确显示,直到 Web 图像加载完成。但是,当我向下滚动列表时,它不再显示新行的 defaultImage,而是显示以前加载的 Web 图像。这在较慢的连接上尤其成问题,因为看起来会显示错误的人的头像。有什么建议吗?
非常感谢
I have a TTTableSubtitleItem to display a simple list of people. I show the person's avatar with an empty avatar icon as the defaultImage. When the page first loads, the empty avatar is displayed correctly as a placeholder until the web image is done loading. However, when i scroll down the list, instead of displaying the defaultImage for the new rows, its now displaying the previously loaded web images instead. This is especially problematic on slower connections since it will appear that the wrong person's avatar is being displayed. any suggestions?
many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试下载最新的 Three20 开发分支。
有一个与问题相关的错误,我认为它已经修复了。 https://github.com/facebook/third20/pull/483
try to download the latest three20 development branch.
there was a bug related to issue and I think it was already fixed in it. https://github.com/facebook/three20/pull/483