So I have this datafield, and when the HR (not the buil-in, but one I get via ANT) gets high I display an alert. This works, but this is a one-time static alert: "HR High: 180".
I'd like to improve that by:
a) update the HR
b) close the alert when the HR gets again below the threshold
My problem is that it seems that in DataFieldAlert only onUpdate() is being called but compute() isn't.
BTW what I tried to do is: