harshmaur
08/14/2017, 2:10 PMedvin
08/14/2017, 2:10 PMedvin
08/14/2017, 2:11 PMedvin
08/14/2017, 2:11 PMedvin
08/14/2017, 2:12 PMitem
or use property references like I do. Your code would never rebind if the underlying object changes inside the view model.edvin
08/14/2017, 2:12 PMadd(find(someTable::class))
, you can just do add(someTable::class)
edvin
08/14/2017, 2:13 PMedvin
08/14/2017, 2:13 PMharshmaur
08/14/2017, 2:13 PMharshmaur
08/14/2017, 2:13 PMedvin
08/14/2017, 2:13 PMharshmaur
08/14/2017, 2:14 PMharshmaur
08/14/2017, 2:14 PMharshmaur
08/14/2017, 2:14 PMharshmaur
08/14/2017, 2:14 PMharshmaur
08/14/2017, 2:14 PMharshmaur
08/14/2017, 2:15 PMharshmaur
08/14/2017, 2:15 PMedvin
08/14/2017, 2:17 PMthomasnield
08/14/2017, 2:17 PMharshmaur
08/14/2017, 2:18 PMedvin
08/14/2017, 2:19 PMedvin
08/14/2017, 2:19 PMedvin
08/14/2017, 2:20 PMedvin
08/14/2017, 2:20 PMimage.png▾
harshmaur
08/14/2017, 2:27 PMval note: NoteModel by inject()
& val note = NoteModel(Note())
harshmaur
08/14/2017, 2:29 PMedvin
08/14/2017, 2:54 PMby inject
make sure that you can share that model between different views. The model that is bound to the table is the same one that is bound to the editor.edvin
08/14/2017, 3:00 PM