Rxjava观察者模式
2020-09-18 15:15:53 10 举报
Rxjava观察者模式
作者其他创作
大纲/内容
ObservableSource
subscribeObserver():void
Observer
onNext(T):voidonSubcribe():voidonError(Throwable):voidonComplete():void
ObservableCreate
ObservableOnSubscribe source
subscribeActual(Oberver):void
ObservableOnSubscribe
subcribe(Emitter):void
Observable
subscribeOberver(Oberver):void abstract subscribeActual(Oberver):voidcreate(ObservableOnSubscribe):Observable
Emitter
onNext();onError(Throwable);voidonComplete():void
CreateEmitter
final Observer<T> observer
收藏
0 条评论
回复 删除
下一页