2016-04-29 69 views

回答

1

使用一个包并使您的自定义变量可序列化。

Bundle bundle = new Bundle(); 
bundle.putSerializable("key", CustomVariableObject()); 
intent.putExtras(bundle);