//传递对象
Bundle bundle = new Bundle();  
intent = new Intent(getApplicationContext(), YourActivity.class);  
                                bundle.putSerializable("youJavaBean", youJavaBean);  
                        intent.putExtras(bundle);  
                                startActivity(intent);  
  
//接收对象
Intent intent = getIntent();  
                Bundle bundle=intent.getExtras();  //接收对象
                youJavaBean= (YouJavaBean)bundle.get("youJavaBean");  

  很简单的,就不一一解释了

相关文章:

  • 2021-07-05
  • 2021-09-25
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2021-09-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2021-04-20
  • 2022-01-14
  • 2022-12-23
相关资源
相似解决方案