Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻
i used this func to get uri from resource but when i add this uri to biv it fail, any help? please
public Uri getUriToResource(@NonNull Context context,
@AnyRes int resId)
throws Resources.NotFoundException {
/* Return a Resources instance for your application's package. /
Resources res = context.getResources();
Uri resUri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE +
"://" + res.getResourcePackageName(resId)
'/' + res.getResourceTypeName(resId)
'/' + res.getResourceEntryName(resId));
/* return uri /
return resUri;
}
i used this func to get uri from resource but when i add this uri to biv it fail, any help? please public Uri getUriToResource(@NonNull Context context, @AnyRes int resId) throws Resources.NotFoundException { /* Return a Resources instance for your application's package. / Resources res = context.getResources(); Uri resUri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + res.getResourcePackageName(resId)