Updating the data on Firebase Android

前端 未结 3 1672
借酒劲吻你
借酒劲吻你 2021-01-02 07:41

I want to update the date on Firebase on a specific node.

DB Structure:

I am trying as

private void updateData() {
database = FirebaseDa         


        
3条回答
  •  囚心锁ツ
    2021-01-02 08:24

    you can assign new value in same child,like

      Firebase firebase = new Firebase("your database link/myDb");
        firebase.child("awais@gmail.com").child("leftSpace").setValue("newValue");
    

提交回复
热议问题