阅读背景:

Android - 使用BitmapRegionDecoder时内存泄漏

来源:互联网 

I'm trying to write a small widget to display images from the SDCARD, with a pan/zoom functionality. After realizing most of the images will not fit into memory as fully sampled bitmaps, I'm trying something a bit more complex - I will have a down-sampled bitmap of the entire image for fast panning and zooming, and a hi-res cropped portion of the image of just what's visible on the viewport that will be calculated in the background and drawn over the low-res when it's done (separate thread).I'm trying to write a small widget to display i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: