Bundle bundle = this.getIntent().getExtras();含义

来源:互联网 发布:电子烟入门 知乎 编辑:程序博客网 时间:2024/05/21 06:23
Bundle bundle = this.getIntent().getExtras();
getIntent得到一个Intent,是指上一个activity启动的intent,这个方法返回intent对象,然后调用intent.getExtras()得到intent所附带的额外数据