How can I take firebase tag in two places

I mean when I click on cardview 1 it will open custom dialog box and show all deatails like image and name
Same when I click on cardview 2 it will open same custom dialog box but card view 2 details show


when any card view clicked, get the id of the clicked cv
If the id = 1
then add your logic for cv1
else add your logic for cv2

I still confiused you have any aia or video

why confused? if you have crated cv then you know the id…

so i just said the condition or logic… Just try according that that man… The logic is, If cv1 clicked call the value of image and name
else call the value of cv 2 details