edvin
10/19/2016, 9:17 PMron
10/19/2016, 9:17 PMron
10/19/2016, 9:17 PMedvin
10/19/2016, 9:19 PMedvin
10/19/2016, 9:20 PMedvin
10/19/2016, 9:20 PMChangeListener<T>
is a candidateedvin
10/19/2016, 9:22 PMonRollback
as a function. That would match onCommit
, but you would need to write some code to use it.ron
10/19/2016, 9:23 PMron
10/19/2016, 9:23 PMcontroller
is a singletonedvin
10/19/2016, 9:25 PMedvin
10/19/2016, 9:25 PMron
10/19/2016, 9:26 PMedvin
10/19/2016, 9:26 PMedvin
10/19/2016, 9:29 PMedvin
10/19/2016, 9:30 PMedvin
10/19/2016, 9:31 PMCategoryListView
to push it's selected item to the CategoryModel
on change:edvin
10/19/2016, 9:31 PMtext = it.title
😬)edvin
10/19/2016, 9:32 PMEntryView
listen to changes in the selected category and reload the list:ron
10/19/2016, 9:34 PMitems.setAll
instead of items=...
edvin
10/19/2016, 9:34 PMobservable()
. Here is an alternative approach:edvin
10/19/2016, 9:35 PMcontroller.selectedEntries
and update that directly in the controller instead:edvin
10/19/2016, 9:35 PMedvin
10/19/2016, 9:36 PMron
10/19/2016, 9:37 PM