Android Studio Java Firebase retrieve key from CardView

So I've been searching the WHOLE internet for a solution but NONE worked for me sadly.

My goal is to retrieve the data from the cardView which is stored on Firebase and use that data when the cardView is clicked to display it on a new Activity.

I've created "Posts" as a collection, so all of the data such as header, date, image etc are stored inside the "Posts" collection.

From my understanding, what I need to do is to retrieve the key from the cardView data that has been clicked and use...

Read More »

By: StackOverFlow - Sunday, 15 April

Related Posts