Tag: firebase storage

Firebase存储用户界面和滑动不显示图像

所以我有一个从Firebase存储加载图片的回收站。 我使用与FirebaseImageLoader结合的Glide库来实现这一点。 直到上个星期一,所有的工作都很好。 图像不再显示,没有任何错误,exception或者帮助我弄清楚为什么图像不会加载了:下面是一些代码片段: 摇篮: compile ‘com.github.bumptech.glide:glide:3.7.0’ compile ‘com.firebaseui:firebase-ui-storage:1.2.0’ ImageView我用来显示图像: 构建Firebase存储链接的Java代码: public StorageReference getThumbUri(String municipality){ return Constants.STORAGE_REFERENCE.child(Constants.PROMOTIONS).child(municipality).child(promo_thumb); //returns eg gs://myfirebaseapp.com/promotions/Mahikeng/spar_thumb.png } 加载图片的代码: Glide.with(context).using(new FirebaseImageLoader()).load(promotions.get(position). getThumbUri(municipality)).into(holder.imageView_promotions); PS此代码一直工作正常,从来没有改变任何我向上帝发誓。 我所做的只是将我的Android Studio更新到2.3.1,并将Google支持库更新为25.3.1

加载图像从毕加索的Firebase存储到Infowindow的ImageView,毕加索只显示占位符

我尝试从带有Picasso的Firebase存储中将图像加载到ImageView中,该图像位于标记的InfoWindowAdapter中。 我非常绝望。 问题是毕加索只显示占位符图标。 我的FirebaseStorageRefernce代码看起来像是指这个Firebase博客帖子 : StorageReference load = getImage(id); load.getDownloadUrl().addOnSuccessListener(new OnSuccessListener<Uri>() { @Override public void onSuccess(Uri uri) { downloadUri = uri; } }).addOnFailureListener(new OnFailureListener() { @Override public void onFailure(@NonNull Exception e) { Log.e("Failure",e.toString()); } }); 我得到的downloadUri是有效的,工作正常。 现在我使用这个下载UU为毕加索。 Picasso picasso = new Picasso.Builder(getApplicationContext()).listener(new Picasso.Listener() { @Override public void onImageLoadFailed(Picasso picasso, Uri uri, Exception e) { e.printStackTrace(); […]