Skip to content

Instantly share code, notes, and snippets.

Avatar
Building Typing Hero - https://typinghero.app

sensen

Building Typing Hero - https://typinghero.app
View GitHub Profile
@sensen
sensen / LollipopBitmapMemoryCacheParamsSupplier.java
Created Sep 4, 2015
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() {
You can’t perform that action at this time.