Reactive Programming with RxJava . Now RxJava 2 has over 9200 methods. 让我们看看RxJava 是怎么帮我们解决这些问题的。 Let's see how RxJava helps us with this problem:. RxJava 1 has about 5500 methods, which is quite a lot.
In this workshop, we're going to get you started using RX Java . 此组件原生支持Room、LiveData和RxJava 。 It works out of the box with Room, LiveData, and RxJava . RxJava 是ReactiveX项目中的Java实现。RxJava is the Java implementation out of the ReactiveX project.其中一个例子就是Reactor3库,这个库很像RxJava 。 An example is Reactor 3 library, which is quite similar to RxJava . RxJava 2的性能表现要优于上个版本的RxJava1.The performance of RxJava 2 is better than in the previous version. I hope that this introduction should be enough to get you started with RxJava . RxJava 扩展了观察者模式用以支持数据和事件序列。RxJava extends the observer pattern to support sequences of data and events. Netflix为JVM创建了RxJava ,专门应用于其API网关。 Netflix created RxJava for the JVM specifically to use in their API Gateway. 其所构建的大量开源产品和软件库都是构建于RxJava 之上的。 A lot of the open source products and libraries they build are built on top of RxJava . Netflix为JVM创建了RxJava ,专门应用在它的API网关。 Netflix created RxJava for the JVM specifically to use in their API Gateway. 在本文中给出的所有这些技术,应该足够你选择用来测试RxJava 的代码了。 All the techniques showed in this article should give you enough options to test out RxJava enabled code. Netflix创建了RxJava forJVM,专门用于他们的API网关。 Netflix created RxJava for the JVM specifically to use in their API Gateway. 我不可能告诉你们所有的RxJava 在你们应用里面的应用方式,因为篇幅是有限的。 I can't tell you all the ways you can use RxJava in your app because the sky's the limit. 它们适用于任何RxJava 的版本,也适用于其他任何基于Reactive-Streams的库。 This applies to any version of RxJava and any Reactive-Streams based libraries as well. 我今天的演讲是关于安卓__RxJava __,你也可以在JavaScript里使用它。 I'm giving a talk today in the context of Android for RxJava , but you can do this in JavaScript. RxJava 是GitHub上最受欢迎的Java项目之一,也是一个流行的框架。We already knew that RxJava was one of the most popular Java repos on GitHub and a popular framework for some time. 如果你现在的工作项目使用RxJava 1,现在可以选择迁移至新版本。 If you are working on a project which currently uses RxJava 1, you now have the option to migrate to the new version. InfoQ:您是怎么看待响应式编程和ReactiveStreams?未来五年内RxJava 将如何演化?? InfoQ: How do you see reactive programming, reactive streams, and RxJava evolving in, say, the next five years? 但是RxJava 有将近150个不同的操作符,而它们中的大多数都有些自定义的逻辑,或者说超出常规的逻辑。 However, RxJava has around 150 unique operators and many of them required some custom logic or"unconventional" idea. 在Reactive-Streams之上实现一套可组合的库需要完全不同的内部架构,因此RxJava 2. Implementing a fluent library on top of Reactive-Streams requires quite a different internal architecture, thus RxJava 2. 虽然RxJava 2.0+确实实现了ReactiveStreamsAPI规范,单使用的术语略有不同。 While RxJava 2.0+ does implement the Reactive Streams API specification, you will notice a slight difference in terminology. 在ETE大会上,Wharton向InfoQ介绍了他在Square的工作情况,以及他对响应式系统、RxJava 和Kotlin的理解。 Wharton spoke to InfoQ at ETE about his work at Square and his thoughts on reactive systems, and RxJava , and Kotlin. 您将学习到该如何将第三方库和应用同时迁移到RxJava 2当中,以及该如何在两个RxJava版本之间互相操作。 You will learn how both libraries and applications can migrate to supporting RxJava 2, and how to interop between the two versions. 幸运的是,RxJava 提供了测试Observable和Subscription的内建支持,并且是直接构建于RxJava 的核心依赖中。 Fortunately RxJava provides built-in support for testing Observables and Subscriptions, built right into the core rxjava dependency. Wharton:现在具有两个主要类型的响应式数据源,这是RxJava 1和RxJava 2间的最大差别。 Wharton: The biggest difference between RxJava 1 and RxJava 2 is that now there are two main types of reactive data sources.
Display more examples
Results: 53 ,
Time: 0.0171