What is the best way to refresh your list once the user receives a push notification. I intent to update the list with the new data so that when the user clicks on the notification it takes the user to the list detail screen. Apparently the click takes you to a blank screen because the user hasn't refreshed the list from the server.
I am using a remote mediator to fetch from the remote server into my room database.
How can i update or refresh the list once the other user sends a push notification?
not kotlin but kotlin colored 3