简体   繁体   English

哪种方法是将大量数据(即对象)从一个Activity转移到Android中的另一个Activity?

[英]Which is the best way to transfer bulk of data (i.e. objects) from one Activity to another Activity in Android?

What is the best way to transfer bulk of data (ie objects) from one Activity to another Activity in Android? 在Android中将大量数据(即对象)从一个Activity转移到另一个Activity的最佳方法是什么?


Note 注意

Do putextra or getextra fulfill this thing? putextragetextra这一点吗? Because I have bulk of objects to transfer. 因为我有大量的物品要转移。

您可以将您的Object放入Serializable并将它们插入Bundle ,然后将Bundle附加到您的Activity并将其传递,检索它并在下一个Activity序列化它。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Android中将数据从一项活动转移到另一项活动? - How do I transfer data from one activity to another in Android? 在android中分配对象以从一个活动转移到另一个活动 - Parceling objects in android to transfer from one activity to another 有关Java类对象和Android中从一个活动到另一个活动的数据传输的查询 - An inquiry regarding Java classes objects and data transfer from one activity to another in Android 哪种方式更适合将大量数据从一个活动传递到另一个活动 - android? - Which way is better for pass a large list of data from one activity to another activity - android? 将对象从一种活动传递到另一种活动的最佳方法 - Best way to pass objects from one activity to another 检测从我的后台服务启动(任何)应用程序(即活动)的最佳方法? - Best way to detect (any) app(i.e. activity) launch from a my background service? 在 Android Wear OS(即 CSV)上保存和传输智能手表传感器数据的最佳方式是什么? - What is the best way to save and transfer smartwatch sensor data on Android Wear OS (i.e. as CSV)? 如何在android中将数据从一个活动传输到另一个活动 - How to transfer data from one activity to another in android 将数据从一项活动转移到另一项活动 - Transfer data from one activity to another 如何将数据从一个活动转移到另一个活动? - How to transfer data from one activity to another?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM