<Firebase Android how to save data without updatin...
# stackoverflow
u
Firebase Android how to save data without updating all the children I'm creating a step counter app and I'm trying to save daily steps. The issue I'm having is that when I save the steps for a certain day it'll update all the days in the database with the steps for the current day. Steps.kt val sdf = SimpleDateFormat("dd-MM-yyyy") var currentDate = sdf.format(Date()) private fun isDateChanged() { val sdf = SimpleDateFormat("dd-MM-yyyy") val dateComparison = sdf.format(Date()) val user = auth.currentUser val userreference...