I'm developing an application for chat rooms on Android using Firebase. The current structure is as follows (being Siege, Beauty etc rooms):
Sofar,userdataisbeingstoredwithFirebasedefault,com.google.firebase.auth.FirebaseUser;
,butnowIneedtosaveanewdataforeachuser:anicknamethatwillbesetonlyonceandcannotbemodified.
In this question recommended to create a node for user and save the nickname on it ... But I'm having a hard time understanding this part of creating the node and saving / modify the data. I think it's simple, but I've read the Firebase references and I'm not able to implement.
Thank you if anyone can explain in detail or recommend a material about it.
The code is in a Github repository, and the excerpt for each room is in this file .