如何在捆绑包中传递列表<>
2022-09-05 00:19:00
我有以下代码:
List<ValueActivity> list = new ArrayList<ValueActivity>();
list = setList();
Intent intent = new Intent(NOTIFICATION);
Bundle bundle = new Bundle();
bundle.put ????("list", list);
intent.putExtra("bundle", bundle);
sendBroadcast(intent);
如何编写第 5 行以及如何获取目标意图