Android Architecture Components: ViewModel/Repository vs bind to Service/IntentService
I want to implement/refactor an app to the Android Architecture Components concept, see https://developer.android.com/jetpack/docs/guide In this topic Android Architecture Components ViewModel - communication with Service/IntentService , I found a very good answer to the architectural issue, see https://stackoverflow.com/a/46736146/6251815 But i want to ask, how to bind the service from a repository, because we have neither context nor activity here. To be clear on that, the question is about how to merge both concepts. What is my situation? I need to have a boundService (see https://developer