Android开发之kotlin界面跳转
写在前面跳转前UserControlUI::class.java 为跳转到的界面activityputExtra加载跳转携带的参数val intent = Intent(this, UserControlUI::class.java)intent.putExtra(DeviceControlActivity.EXTRAS_DEVICE_NAME, device!!.name)intent.putExtra(DeviceControlActivity.EXTRAS_DEVICE_ADDRE