= 100 private fun startSecondView() { val intent = Intent(this, ResultSecondActivity::class.java) startActivityForResult(intent, request_second_code) } override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { super.onActivityResult(requestCode, resultCode, data) if (requestCode == request_second_code) { // do action } } } New Result API with deprecated Activity 1.2.0-alpha02 / Fragment 1.3.0-alpha02