如果viewmodel有参数,则必须创建viewmodelfactory并通过dagger注入活动中 @Provides @ActivityScope fun provideViewModelFactory(dependency: ...
確定! 回上一頁