标签: android dagger android-viewmodel
如果在Dagger模块内初始化ViewModel,则会在重新创建活动时销毁它。但是如果ViewModel在Activity的onCreate方法内初始化,则ViewModel对象将在方向更改时保持不变。请帮我找到解决方案。