use of com.facebook.drawee.interfaces.SimpleDraweeControllerBuilder in project fresco by facebook.
the class InstrumentedDraweeView method setImageURI.
@Override
public void setImageURI(Uri uri, @Nullable Object callerContext) {
SimpleDraweeControllerBuilder controllerBuilder = getControllerBuilder().setUri(uri).setCallerContext(callerContext).setOldController(getController());
if (mConfig.instrumentationEnabled && controllerBuilder instanceof AbstractDraweeControllerBuilder) {
((AbstractDraweeControllerBuilder<?, ?, ?, ?>) controllerBuilder).setControllerListener(mListener);
}
setController(controllerBuilder.build());
}
use of com.facebook.drawee.interfaces.SimpleDraweeControllerBuilder in project fresco by facebook.
the class InstrumentedDraweeView method setImageURI.
@Override
public void setImageURI(Uri uri, @Nullable Object callerContext) {
SimpleDraweeControllerBuilder controllerBuilder = getControllerBuilder().setUri(uri).setCallerContext(callerContext).setOldController(getController());
if (controllerBuilder instanceof AbstractDraweeControllerBuilder) {
((AbstractDraweeControllerBuilder<?, ?, ?, ?>) controllerBuilder).setControllerListener(mListener);
}
setController(controllerBuilder.build());
}
Aggregations