Bear with me - new to Kotlin so probably missing something obvious. As commented in the fragment code \'myPolyLine?.points = it\' doesn\'t work but \'myPolyLine?.points = p