SavedState を使う場合、ViewModelに SavedStateHandle インスタンスを渡さなければいけません。 class MyViewModel( private val state: ...
確定! 回上一頁