0

I am new to Android Studio. I connected Firebase to my app and am able to store data onto it along with the image. The data is like shown in the pic. I just want to know how can I retrieve all this data one by one in a list view or in such a view that it looks like items for sale. I don't know where to start coding.

I want output as a list where users can see items for sale :

Item Name - Laptop
Category - Electronics
Cost - 15000
Description - Good
Picture - ∆

..and then next item in list ..

How can I start on this?

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
Ishu
  • 11
  • 1
  • 3
  • 1
    Hi, welcome to StackOverflow. Please remember that this isn't a code writing service. If you have had a try, please edit the question to include your source code so far and to explain where you got stuck. If you genuinely don't know where to start, please edit the question to identify the documentation/articles you have read and why they didn't help. Thank you. – MandyShaw Feb 27 '19 at 18:40
  • refer this link. https://stackoverflow.com/questions/37094631/get-the-pushed-id-for-specific-value-in-firebase-android Hope this link helpful to you – Jinal Awaiya Mar 01 '19 at 10:09
  • Thanks a lot, working on it. – Ishu Mar 03 '19 at 12:40

1 Answers1

0

Here a link there you can find how to make a recyclerview but in this code I used a firebase firestore so there you can use firebase instead to firebase firestore.

BlackBlind
  • 772
  • 9
  • 26