Slide 44
Slide 44 text
ྫ (RxJava):
Observable a = …;
Observable b = …;
!
Observable a1 = a.map( (i) -> i + 1 );
Observable b1 = b.map( (j) -> j - 1 )
.map( (k) -> k * 2 );
!
!
Observable c =
Observable.combineLatest(a1, b1,
(i, j) -> i + j );
σʔλϑϩʔΛܨ͛Δϝιου
ؔ
ೖྗ
A
B C
+1
—1
×2
+
“Ͳ͏࣮ߦ͢Δ͔”
Ͳ͜ʹॻ͍ͯͳ͍ʂ