Mark as read

#1

I have a notification icon that has a counter. This counter counts how many things i have received from the web service and displays it to the user. But now, i want it to count only the things that the user didn´t open yet. Is there a way to do this?

Sem%20T%C3%ADtulo

As you can see in the first image. I display the info that i received from the web service as that.

Sem%20T%C3%ADtulo1

After i click that info, i display more about it.

But now i have this challenge, of creating something that checks if that was open already.

#2

You’ll have to store the read status (true/false) of each record you receive from the web service (perhaps as a boolean field set to false), then update it when opened, so that next time it checks to see if read or not.