bundle

inline fun <T> Activity?.bundle(defValue: T? = null, name: String? = null): ReadWriteProperty<Activity?, T>
inline fun <T> Fragment?.bundle(defValue: T? = null, name: String? = null): ReadWriteProperty<Fragment?, T>

从序列化中检索到数据

Parameters

name

键名

defValue

默认值