Android, Jetpack, Jetpack Datastore.
userPreferencesStore.data.username } // Injecting the DataStore in the feature module's ViewModel class MyViewModelFactory(private val appModule: UserPreferencesModule) : ViewModelProvider.Factory { override fun <T : ViewModel> create(modelClass: Class<T>): T { if