how can i show the local image?
hi ,
I use fresco 0.5.0+ ,now I want to show the image form my device, but it only show me this
and there is no more exception
I use the scheme "file://" but it didn't work. even I add "/mnt" after "file://" here is my Uri format ---> file:///storage/emulated/0/DCIM/Camera/IMG_20150520_033342299.jpg and here is my code: ImageRequest imageRequest = ImageRequestBuilder.newBuilderWithSource(Uri.parse(String.format("file://%s", option.path))).setResizeOptions(new ResizeOptions(90, 90)).build(); PipelineDraweeController controller = (PipelineDraweeController)Fresco.newDraweeControllerBuilder() .setImageRequest(imageRequest) .setOldController(optionViewHolder.img.getController()) .build(); optionViewHolder.img.setController(controller);
help me please. thanks for reading.
it's my mistake, i have solved the problem