edvin
12/17/2016, 1:57 PMcarlw
12/17/2016, 1:58 PMedvin
12/17/2016, 2:03 PMcarlw
12/17/2016, 2:03 PMron
12/17/2016, 2:07 PMedvin
12/17/2016, 2:07 PMron
12/17/2016, 2:07 PMedvin
12/17/2016, 2:07 PMron
12/17/2016, 2:07 PMedvin
12/17/2016, 2:09 PMedvin
12/17/2016, 2:10 PMron
12/17/2016, 2:10 PMron
12/17/2016, 2:10 PMron
12/17/2016, 2:10 PMedvin
12/17/2016, 2:10 PMedvin
12/17/2016, 2:44 PMedvin
12/17/2016, 2:45 PMedvin
12/17/2016, 2:45 PMitems
parameter from the params
property:edvin
12/17/2016, 2:45 PMedvin
12/17/2016, 2:46 PMedvin
12/17/2016, 2:51 PMinject
gtnarg
12/17/2016, 2:59 PMval params = "items" to listOf(SomeItem("Item A"), SomeItem("Item B")).observable()
- the "items" to
is not familiaredvin
12/17/2016, 3:00 PMx to y
is the same as Pair(x, y)
. Pair is a Tuple. So you basically send in one or more tuples of parameters, and it gets converted to a Map.edvin
12/17/2016, 3:00 PMval params = Pair("items", listOf(..))
instead 🙂gtnarg
12/17/2016, 3:01 PMedvin
12/17/2016, 3:06 PMval items: ObservableList<SomeItem> by param()
(Updating the example and SO)carlw
12/17/2016, 4:02 PMcarlw
12/17/2016, 4:03 PMcarlw
12/17/2016, 4:04 PM