读书人

2011.07.19 android intent 传接

发布时间: 2012-09-16 17:33:16 作者: rapoo

2011.07.19——— android intent 传递list或者对象
2011.07.19——— android intent 传递list或者对象

参考:http://blog.csdn.net/Android_Tutor/article/details/5740845
http://blog.csdn.net/onerain88/article/details/6562464
http://www.eoeandroid.com/thread-163-2-1.html


方法一:
如果单纯的传递List<String> 或者List<Integer>的话 就可以直接使用



使用
class Blah extends Activity {  @Override  public void onCreate(Bundle b){    ...    MyApp appState = ((MyApp)getApplicationContext());    String state = appState.getState();    ...  }}







读书人网 >Android

热点推荐