Closed romansky closed 12 years ago
Actually in production you have to display images in multiple different sizes. So I just pass required re-sample size to displayImage(). But when you do that you have to bother about memory cache. If you have re-sampled image cached in memory but later ask for a complete image memory cache will return you the re-sampled one. I don't want to overwhelm people with all this stuff. So I try to keep my sample project simple. This way people can easily learn it and adapt to their specific requirements. Pretty hard to make it all-in-one solution good for all.
...
-- was needed to get this working with the Gallery widget, where the target image size is actually bigger.