Hello, good day! I am working on a weekly shift system, where before loading I make a prior consultation to find out if the shift is available or not. I'm having problems because I save the data correctly, the problem is that I can't make the comparison.
I accept all kinds of recommendations, change database work in another way, whatever.
BD: fire base
Lists are preloaded, visually it looks like this:
The blocks are similar to this (ignore some mistakes) I'm still learning with the app :