https://kotlinlang.org logo
e

edvin

10/07/2018, 9:29 PM
A
CustomerList
displays customers. You double click a Customer in the TableView and wrap a
CustomerModel
around the selected customer and put it into a new scope. Then you open a
CustomerEditor
in the context of that new scope with
find<CustomerEditor>(Scope(customerModel))
and now the
CustomerEditor
can access the customer model using
val customer: CustomerModel by inject()
.