一、public Intent putExtra (String name, double[] value) 


设置方法 intent.putExtra("aaa", "bbbb"); 
获取方法 this.getIntent().getCharSequenceExtra("aaa") 

二、public Intent putExtras (Bundle extras) 


设置方法 
Bundle bd = new Bundle(); 
bd.putString("aaa",“bbbb”); 
intent.putExtras(bd); 
获取方法 
Bundle bd=this.getIntent().getExtras(); 
bd.getString("aaa")); 

三、总结

带s的得通过个Bundle来绑定数据 

相关文章:

  • 2021-07-14
  • 2021-12-26
  • 2021-09-05
  • 2021-08-09
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-11-22
  • 2022-12-23
  • 2021-07-23
相关资源
相似解决方案