Ones it happens to me that i want start an activity and waiting for result but cannot find any example how much as i search about it.
If you want to start an activity and need its result in Anko, you can use below code: val REQUEST_CODE=123 startActivityForResult<AnActivity>(REQUEST_CODE) override fun onActivityResult(requestCode: Int, resultCode: Int, data:Intent?) {
super.onActivityResult(requestCode, resultCode, data)
when (requestCode) {
REQUEST_CODE -> //do what you want
}
}