K
K
Kracker652022-03-17 23:58:24
Parsing
Kracker65, 2022-03-17 23:58:24

How to create a folder in Firebase Realtime Database in a folder with a unique id stored in the project itself?

62339c00d7539543419352.png

database photo

62339c3510276472652229.png

project structure

code

https://pastebin.com/EeEUwczJ

My problem is that I can't get the place id because I'm getting the user id.

pricesReference = FirebaseDatabase.getInstance().getReference("Places").child(googlePlaceModel.getPlaceId()).child("Prices");
here I have an error with googlePlaceModel, and without this I don't know how to get another place id.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
strelmax, 2016-06-10
@DanielDan0

Try this:
^\w+\s[*%#]\s[+-]\d*$

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question