简体   繁体   中英

Is there a reason why passing objects to intents are not straight forward?

为什么对象必须被序列化或者是Parcelable才能传递给Intent?

意图可以在进程之间发送,因此不能包含仅限于当前JVM的Object:s。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM