如果viewModel具有引數,則必須由Dagger建立ViewModelFactory並將其注入(inject) ... 這樣的Activity 中時,我並沒有真正理解viewModelFactory的要點:
確定! 回上一頁