I want to get a List from my Room-Database for a notification, where I use a BroadcastReceiver and a JobIntentService.
Because I don't have a context I can't obtain the ViewModel. So I need another way to get the data.
In this article I read something about a Singleton. But I don't know how to get the data now from the database with the Singleton.