Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
324 views
in Technique[技术] by (71.8m points)

android - 如何在同一RecyclerView中从数据库Firebase的不同ID添加2张图片(how to add 2 pictures from different IDs of database firebase in same RecyclerView)

my problem is to show picture from 1st ID database firebase and show the another picture from another

(我的问题是显示来自第一个ID数据库Firebase的图片,并显示另一个图片)

ID firebase database into same recyclerView, but RecyclerView is only showing me one Pic from 1st

(将Firebase数据库标识到相同的recyclerView中,但是RecyclerView只向我显示一张图片)

Id database firebase, not showing me 2nd pic.

(ID数据库Firebase,未向我显示第二张图片。)

i want to show two pictures

(我想展示两张照片)

from different IDs of firebase database into same RecyclerView.as it is showing in pic

(从firebase数据库的不同ID进入相同的RecyclerView。)

在此处输入图片说明

one pic is showing another one is not.

(一张照片显示另一张照片没有。)

my code is too complex thats why i am not uploading my code

(我的代码太复杂了,这就是为什么我不上传我的代码)

在此处输入图片说明

here is two IDs in firebase

(这是firebase中的两个ID)

database 1st one is PoliceAccounts and other one is QuickChallan both contains images QuickChallan

(数据库第一个是PoliceAccounts,另一个是QuickChallan都包含图像QuickChallan)

is showing pic but PoliceAccount is not showing pic in same REcyclerView

(正在显示图片,但是PoliceAccount在同一REcyclerView中未显示图片)

dont know that method two displaying both images from different IDs database firebase.

(不知道该方法两个显示来自不同ID数据库Firebase的两个图像。)

  ask by HAMZA HANIF SHAH translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...