Example:
fun getListOfPlaces() : List { Log.d("TAG", "Before attaching the listener!"); val places = ArrayList