Skip to content Skip to sidebar Skip to footer

How To Update A Specific Node From A Firebase Database With Android?

I have a relative simple Firebase database which looks like this: How can i update the Room1 node? If i use this code, in stead of updating that node, it adds another one, with th

Solution 1:

databaseReference = FirebaseDatabase.getInstance().getReference().child("Rooms").child(Room1);
databaseReference.setValue()

with whatever new value you want in the setValue() parentheses


Post a Comment for "How To Update A Specific Node From A Firebase Database With Android?"