【发布时间】:2014-02-20 18:36:21
【问题描述】:
Bundle bundle = new Bundle();
bundle.putParcelableArrayList("countiesof",
(ArrayList<? extends Parcelable>) jsonDataList);
Intent intent = new Intent(SplashActivity.this, HomeActivty.class);
intent.putExtra("mycountries", jsonDataList);
startActivity(intent);
现在,我想将 arraylist 从一个活动传递到另一个活动。
【问题讨论】:
-
您在 jsonDataList 中存储了什么样的对象?它们可以打包吗?
-
您的arraylist 是什么以及如何设计的?请显示您要传递的数组列表?
-
带哈希映射的数组列表
标签: android