edvin
04/30/2018, 7:34 PMbjonnh
04/30/2018, 7:58 PMbjonnh
04/30/2018, 8:49 PMbjonnh
04/30/2018, 8:49 PMbjonnh
04/30/2018, 8:51 PMbjonnh
04/30/2018, 8:52 PMbjonnh
04/30/2018, 8:52 PMGary Tierney
04/30/2018, 9:06 PMsubscribe
callback with that list, updating the tables items.
The doOnNext
call gets ran when the refresh action is invoked again, but before subscribe
, and disposes of any resources it created earlier. The flatMapSingle
maps the list into an Observable<List<T>>
that gets fired once, instead of an Observable<T>
that get fired with all the lists items I think. The callback in subscribe
gets ran every time that all of that completes.bjonnh
04/30/2018, 9:08 PMGary Tierney
04/30/2018, 9:09 PMGary Tierney
04/30/2018, 9:10 PMtableview
lambda, so items
is https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TableView.html#itemsPropertybjonnh
04/30/2018, 9:13 PMGary Tierney
04/30/2018, 9:13 PMbjonnh
04/30/2018, 9:14 PMbjonnh
04/30/2018, 9:14 PMGary Tierney
04/30/2018, 9:17 PMGary Tierney
04/30/2018, 9:18 PMbjonnh
04/30/2018, 9:19 PMbjonnh
04/30/2018, 9:19 PMbjonnh
04/30/2018, 9:19 PMbjonnh
04/30/2018, 9:21 PMbjonnh
04/30/2018, 9:21 PMbjonnh
04/30/2018, 9:22 PMGary Tierney
04/30/2018, 9:27 PMGary Tierney
04/30/2018, 9:27 PMsetAll
has variance on the list's typebjonnh
04/30/2018, 9:39 PMbjonnh
04/30/2018, 9:39 PMthomasnield
04/30/2018, 9:51 PMbjonnh
04/30/2018, 10:05 PMbjonnh
04/30/2018, 10:05 PM