Android - delegate onActivityResult to each fragment (fix onActivityResult not call in the Fragment) thanks to Jared Rummler and ruX http://stackoverflow.com/a/22685084/273119
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data);
supportFragmentManager?.fragments?.forEach {
it?.onActivityResult(requestCode, resultCode, data)
}
}