use of com.facebook.imagepipeline.listener.RequestListener in project fresco by facebook.
the class ZoomableApplication method onCreate.
@Override
public void onCreate() {
super.onCreate();
FLog.setMinimumLoggingLevel(FLog.VERBOSE);
Set<RequestListener> listeners = new HashSet<>();
listeners.add(new RequestLoggingListener());
ImagePipelineConfig config = ImagePipelineConfig.newBuilder(this).setRequestListeners(listeners).build();
Fresco.initialize(this, config);
}
use of com.facebook.imagepipeline.listener.RequestListener in project fresco by facebook.
the class AnimationApplication method onCreate.
@Override
public void onCreate() {
super.onCreate();
FLog.setMinimumLoggingLevel(FLog.VERBOSE);
Set<RequestListener> listeners = new HashSet<>();
listeners.add(new RequestLoggingListener());
ImagePipelineConfig config = ImagePipelineConfig.newBuilder(this).setRequestListeners(listeners).build();
Fresco.initialize(this, config);
}
Aggregations