Advertisements

RT DB Adding a child

        //Getting Reference to Root Node
        DatabaseReference myRef = database.getReference();

        //Setting Value
        myRef.child("child 1").setValue("I am the child");