Doubt about user session Firebase Database Android

0

My question is this: I am making an app. In the first activity I access through Google or Facebook and Firebase authentication. This works well for me since I've checked it. Then I have some Cardviews which are loaded by data from Firebase Database. In these Cardviews I have 3 buttons: "like", favorite and purchase. Like Add a "like" when pressed and changed to "true", this being recorded in the Database. The Favorite also changes to "true" in the BD and is added to a favorite node. This works well (after several headaches ...), now, what I want is for each user to have their data, since now if I go out and agree with another user, I will continue to be marked with the previous session. I do not know if something can be done at this point or I would have to change many things ... I think I thought about it too late ... Thank you very much in advance. I show the structure of my Database: PS: it's the first time I post a question, sorry if there's something wrong ..

    
asked by JCL 12.05.2018 в 11:40
source

0 answers