Periodically Checking for DB Changes

Hello,

I have a sensor that sends a bunch of informations for my backend application that manages it and saves in a DB.

My application needs to check periodically this Data Base (using the backend) to update the informations at the screen (like every 30segs), what is the best way to do this? I tried to google it but it was unsuccessful, maybe I’m not using the correct words. Maybe I should create my own event and event listener?

I know that I can’t use any repetition loop since it would freeze the rest of my listeners (touchs, text box etc…).

Thank you,

Pedro Gabriel.