1 A页面:       
2     Intent intent = new Intent(GrouponActivity.this, GroupBuyDetailsActivity.class);
3            intent.putExtra("ID", entity.getID());
4            startActivity(intent);
5 B页面:
6     Intent intent = getIntent();
7     id = intent.getIntExtra("ID", -1);

 

相关文章:

  • 2021-09-10
  • 2021-08-20
  • 2021-12-21
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-16
  • 2021-06-06
  • 2021-12-10
  • 2022-12-23
  • 2021-11-04
相关资源
相似解决方案