목록2017/08/24 (4)
오늘도 공부
http://ddmix.blogspot.kr/2015/11/favorites-bigdata-ml.html
rxjava 가 메이저 버전 업(1->2)을 하면서 몇 가지 변경점이 생겼다.변경점에 대한 자세한 내용은 아래 링크를 참조하기 바란다.rxJava Wiki : https://github.com/ReactiveX/RxJava/wiki/What’s-different-in-2.0번역 : http://realignist.me/code/2017/01/25/rxjava2-changelog.htmlFlowable 이라는 base reactive class 가 추가 되었다. Observable 과의 차이는 backpressure buffer의 기본 탑재 유무이다.
출처 : https://stackoverflow.com/a/42005735I'd suggest using a Single as it is more accurate representation of the data flow: you make a request to the server and the you get either one emission of data OR an error:Single: onSubscribe (onSuccess | onError)?For an Observable you could theoretically get several emissions of data AND an errorObservable: onSubscribe onNext? (onCompleted | onError)?How..
