Serialize
/
com.drake.serialize.model
/
stateModels
state
Models
inline fun <
V
:
StateViewModel
>
FragmentActivity
?.
stateModels
():
Lazy
<
V
>
Content copied to clipboard
返回当前组件指定的SavedViewModel 要求数据类型为StateViewModel的子集
inline fun <
V
:
StateViewModel
>
Fragment
?.
stateModels
():
Lazy
<
V
>
Content copied to clipboard