android-cn / android-discuss

Android 问题交流讨论坛, 微信公众号:codekk, 网站:
https://github.com/android-cn/android-discuss/issues
Apache License 2.0
4.08k stars 536 forks source link

[问答]大家对显示长图有没有好的解决办法? #342

Open Weststreet opened 8 years ago

lizhenghlh commented 8 years ago

我知道有一种高效加载大图的bitmapDecoder,另外微信和微博的长图网上搜到过解决办法,请自行google和baidu

lumenghz commented 8 years ago

LargeImage 可能对你有帮助

Weststreet commented 8 years ago

貌似现在比较好的方法是使用bitmapDecoder实现,做的比较好的是subsampling-scale-image-view但是感觉和微博客户端的还是有一定的差距,有大神知道微博客户端是如何实现的么?

ghost commented 8 years ago

https://github.com/johnnylambada/WorldMap 你看下这个库,应该能满足你的要求。

fujian26 commented 6 years ago

BitmapRegionDecoder 显示那部分区域 我才加载到内存中。

xmlxin commented 6 years ago

https://github.com/Piasy/BigImageViewer 试试这个