这是我的代码
Glide.with(context).load(Config.USER_PROFILE_IAMGE_PATH + response).listener(new RequestListener<Drawable>() {
@Override
public boolean onLoadFailed(@Nullable GlideException e, Object model, Target<Drawable> target, boolean isFirstResource) {
return false;
}
@Override
public boolean onResourceReady(Drawable resource, Object model, Target<Drawable> target, DataSource dataSource, boolean isFirstResource) {
Uri imageUri=???????
return true;
}
}).into(holder.senderImageHolder);
我正在尝试从url加载图像,并且显示正确。现在,我想将同一张图片显示为不同的活动。所以我需要图像uri