java学习地址:https://www.jianshu.com/p/8a9b84df5018
1、intent作用:启动组件
2、putExtra作用:重载,数据暂存
3、putExtra格式:(key,value)
Intent intent = new Intent(this, LiveActivity.class);
intent.putExtra(LiveConstant.KEY_ENTER_FROM, LiveConstant.FROM_LIVE);
intent.putExtra(LiveConstant.KEY_AUTO_FINISH, LiveConstant.TEST_FINISH_TIME);
intent.putExtra(LiveConstant.KEY_ENTER_ROOM_ID, roomId);