TTImageView 显示黑色图像(或:替换 TTImageView)
我使用 Three20 的 TTImageView 因为它是异步图像加载+缓存。
我多次注意到这个问题,图像会显示为全黑,并且永远不会完成加载。这是我所看到的示例:
http://screencast.com/t/7O7fnedX5Z2
所以。 ..基本上我想知道这是否是 Three20 中的一个错误,如果是,我该如何修复它(是否有一个补丁可以修复它)...或者:
是否有一个好的 TTImageView 替代品执行异步图像加载+缓存?
I'm using Three20's TTImageView for it's async image loading + caching.
I've noticed this issue a bunch of times where an image will show up as completely black, and never finish loading. Here's an example of what I'm seeing:
http://screencast.com/t/7O7fnedX5Z2
So...basically I'm wondering if this is a bug in three20, and if so, how I might go about fixing it (is there a patch out there that might fix it)...OR:
Is there a good TTImageView replacement that performs async image loading + caching?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
结果我在日志中看到以下内容:
TTRequestLoader connection:didReceiveResponse:: TTDASSERT failed: 0 == _queue.maxContentLength ||内容长度<=_queue\
.maxContentLength
(每个失败的图像一个)
之后,进行了一些谷歌搜索:
http://groups.google.com/group/third20/browse_thread/thread/8bfac3654a6d9674/caf797f265445971?pli=1
Turns out I was seeing the following in my log:
TTRequestLoader connection:didReceiveResponse:: TTDASSERT failed: 0 == _queue.maxContentLength || contentLength <=_queue\
.maxContentLength
(one for each failed image)
After that, a little bit of googling rendered:
http://groups.google.com/group/three20/browse_thread/thread/8bfac3654a6d9674/caf797f265445971?pli=1