how we can initialize the viewModel in a service. in a fragment, we do that with Kotlin delegate "by activityViewModels". or we can do it with the ViewModelProvider().get. but as far as I find out we can not do it in service because we need a "ViewModelStoreOwner" like activity or fragment.
so is that even a best practice to initialize a ViewModel in a service?