File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,7 @@ To provide caching on external storage (SD card) add following permission to And
333
333
- Use ` .bitmapConfig(Bitmap.Config.RGB_565) ` in display options. Bitmaps in RGB_565 consume 2 times less memory than in ARGB_8888.
334
334
- Use ` .memoryCache(new WeakMemoryCache()) ` in configuration or disable caching in memory at all in display options (don't call ` .cacheInMemory() ` ).
335
335
- Use ` .imageScaleType(ImageScaleType.IN_SAMPLE_INT) ` in display options. Or try ` .imageScaleType(ImageScaleType.EXACTLY) ` .
336
- - Avoid using RoundedBitmapDisplayer. It creates new Bitmap object with ARGB_8888 config for displaying during work.
337
-
336
+
338
337
5 . For memory cache configuration (` ImageLoaderConfiguration.memoryCache(...) ` ) you can use already prepared implementations.
339
338
* Cache using ** only strong** references:
340
339
* ` LruMemoryCache ` (Least recently used bitmap is deleted when cache size limit is exceeded) - ** Used by default**
You can’t perform that action at this time.
0 commit comments