Skip to content Skip to sidebar Skip to footer

Checking If Field Data Changed Rather Than Any Field In Child Data

I can check if any data that is a child of my reference has changed no problem but I cant find a way to check if a certain field has changed within that child. Here is some code t

Solution 1:

You are using correctly addValueEventListener() on the reference but you don't need that for loop. Your DataSnapshot is already on the job child, in which the key is job and the value is: none. So you need to remove the iteration. Hope it helps.


Post a Comment for "Checking If Field Data Changed Rather Than Any Field In Child Data"