How to sum older data with new one in firebase
问题 I have table named poin and kegiatan, when I input score to kegiatan, its input to poin too, the problem is when I input score to poin and sum it with older data in poin, its will looping over and over. what should I do? Btw, this is how my database and code for input score to poin look like. kegiatan + user id - poin = score poin +stringDate -userId = score reference = FirebaseDatabase.getInstance().getReference(); reference.child("poin").child(stringdate).child(nama).addValueEventListener