I'm playing around with Anko for Kotlin and was trying to use it to take a picture and then display the resulting image in my test application using the below android training document as a starting point.

<http://developer.android.com/training/camera/photobasics.html>

What would be the best way to implement this functionality using Anko?

I'm trying to use the startActivityForResult function, but I'm not having any luck figuring out how to add an image view to the layout that I can update with the result from onActivityResult.