useState<T> method
创建 ViewModelState notify 创建时是否更新状态
Implementation
@Deprecated("replace with useLiveState")
LiveData<T> useState<T>(T value, [bool notify = false]) {
return useLiveState(value, notify);
}
创建 ViewModelState notify 创建时是否更新状态
@Deprecated("replace with useLiveState")
LiveData<T> useState<T>(T value, [bool notify = false]) {
return useLiveState(value, notify);
}