Skip to content

Instantly share code, notes, and snippets.

Avatar

< B@!uS /> BALUSANGEM

View GitHub Profile
@BALUSANGEM
BALUSANGEM / LollipopBitmapMemoryCacheParamsSupplier.java
Created Sep 5, 2017 — forked from sensen/LollipopBitmapMemoryCacheParamsSupplier.java
Fresco's custom BitmapMemoryCacheParamsSupplier for Lollipop devices
View LollipopBitmapMemoryCacheParamsSupplier.java
public class LollipopBitmapMemoryCacheParamsSupplier implements Supplier<MemoryCacheParams> {
private ActivityManager activityManager;
public LollipopBitmapMemoryCacheParamsSupplier(ActivityManager activityManager) {
this.activityManager = activityManager;
}
@Override
public MemoryCacheParams get() {