Skip to content

RxJava、RxAndroid学习,操作符及使用场景

Notifications You must be signed in to change notification settings

BoBoMEe/RxJavaSamples

Repository files navigation

RxJava学习

RxJava是一个基于观察者模式设计的异步库(响应式编程)

学习资料:

大纲之操作符分类

创建操作

Just, From, Repeat(repeatWhen), Create, Defer, Range, Interval, Empty/Never/Throw,Timer

变换操作

Map, FlatMap(concatMap,flatMapIterable), SwitchMap, Buffer, GroupBy, Scan, Window, Cast

过滤操作

Filter(ofType), Take(TakeLast,takeLastBuffer), Skip(SkipLast), Last(lastOrDefault), First(takeFirst,firstOrDefault), ElementAt(elementAtOrDefault), Sample(sample,throttleLast) ThrottleFirst, Distinct(distinctUntilChanged), IgnoreElements

组合操作

StartWith, Merge(mergeDelayError), Zip(zip,zipwith), And/Then/When, CombineLatest, Join(join/groupJoin), Switch(switchOnNext)

错误处理

Catch, Retry

辅助操作

Materialize/Dematerialize, Timestamp/TimeInterval, ObserveOn/SubscribeOn/Subscribe, Delay(delay,delaySubscription), Using, Single, Timeout, Do, To, Serialize, cache(replay),

About

RxJava、RxAndroid学习,操作符及使用场景

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages