简体   繁体   中英

How can get firebase real time database usnig android studio java

[{ "name": "Style Shoes", "id": "123", "image": "https://firebasestorage.googleapis.com/v0/b/ecomfirebase-39a63.appspot.com/o/1886_side.jpeg?alt=media&token=c040a1e3-e05d-457a-ac67-dbb77934ba5d", "size": 6, "price": 409.45

}, { "name": "Google Assitences", "id": "124", "image": "https://firebasestorage.googleapis.com/v0/b/ecomfirebase-39a63.appspot.com/o/5fca8733bdb90c520c4127a2_EN_Google_Blog_Visual_NEW_EN.jpg?alt=media&token=087c1e24-31a0-4fba-bb5a-022d7e6800db", "size": 0, "price": 5499.45

}]

I think you want to retrieve data from firebase real time database for that you need to create a function and a adapter to pass data read this documentation read this and follow the following code

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM