We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realtime DB data structure here
For our case, the data need to be like
users: { <id>: { tags: {tag_id1, tag_id2 ..} } } tags: { <tag_id>: { name: _string_ owner: _user_id_ shared_with: { user_id1, user_id2}, expenses: {expense_id1, expense_id2} } } expenses: { <expense_id>: { timestamp: _number_, from: user_id, to: user_id, amount: _number_, tags: {tag_id1, tag_id2} } }
Populate some data manually in Realtime DB for a user including tag + expenses & show the data in home & detail screen
For reading data from the Firebase DB, use onValue() rather using get() as explained here
onValue()
get()
The text was updated successfully, but these errors were encountered:
Home page init should
onChildAdded
onChildRemoved
Detail page init should
Sorry, something went wrong.
radheyshyamjat
No branches or pull requests
Realtime DB data structure here
For our case, the data need to be like
Populate some data manually in Realtime DB for a user including tag + expenses & show the data in home & detail screen
For reading data from the Firebase DB, use
onValue()
rather usingget()
as explained hereThe text was updated successfully, but these errors were encountered: