Use the 'by activityViewModels()' Kotlin property delegate. // from the fragment-ktx artifact. private val model: SharedViewModel by ...
確定! 回上一頁