Ognjen Dragoljevic
Ognjen Dragoljevic
This looks like a bug. I'll look into it.
Yeah, NPE slipped, i'm sending a fix.
I'll double check that, but can you clarify what "document" are you referring to? Do you mean the documentation on frescolib.org/docs/ ?
Thanks @liaohuqiu , that's awesome!
`file:///android_asset` is only for use with `WebView`. For example, `Universal Image Loader` uses `assets://image.png`. So, I'm afraid there is no standard convention here. The fact that `FileInputStream` cannot open `/android_asset/...`...
fresco docs have a problem? 'hierarchy.setPlaceholderImage(R.drawable.placeholderId);' can't find it
mSimpleDraweeView.getHierarchy().setPlaceholderImage(...)
fresco docs have a problem? 'hierarchy.setPlaceholderImage(R.drawable.placeholderId);' can't find it
You can specify the placeholder image while building hierarchy: ``` GenericDraweeHierarchy hierarchy = new GenericDraweeHierarchyBuilder(resources) .setPlaceholderImage(...) .build() mDraweeView.setHierarchy(hierarchy); ``` But, you can also change the placeholder view of the existing...
Can you give us more context on that? Since this is not an image that is being fetched from the network / file / whatever, why don't you do this...
One important difference that one should be aware of is that Uri is used to specify an actual image that goes through the pipeline. That means fetching, caching, transcodng, resizing,...
I think it's safe to close this issue.