摘要:
看过其他人写的这个intent 传递List的方法,内容是putExtras(key, (Serializable)list)方法传递过去,接受的时候用(List<YourObject>) getIntent().getSerializable(key)。但我写putExtras这个方法出错,原因是参数不对。那我将就写成intent.putExtra("list",(Serializable)list);然后在接收的Activity里写list =(ArrayList<ClassInfo>)intent.getSerializableExtra(&q 阅读全文