It’s time to talk about how you can observe sources of information in RxJava 2.0.
- [Instructor] Hi, welcome to the fifth…and last video of this section, Observing Sources.…In the previous video, we learned the different ways…we have to create publishers in RxJava 2.…In this video, we are going to see…how we can subscribe to and unsubscribe from them.…How do you subscribe to publishers?…I don't know if you noticed in the third video,…but an observer and a flowable have different interfaces…and that's because of the back pressure handling.…Observer.onSubscribe receives a disposable object.…
Whereas, flowable.onSubscribe receives a subscription.…Does that affect our code?…When we subscribe do we have to do anything…with that callback?…What is supposed to go in there?…Essentially, you would never want to use observer…or subscriber,…seeing as back pressure is going to be handled for us,…and most of the ways we create publishers don't require…to handle it manually.…Instead, we are going to use DisposableObserver…and DisposableSubscriber.…Those take care of implemented .onSubscribe callback…what is what replaces the subscription.…
AuthorManuel Vicente Vivo
This course was created and produced by Packt Publishing. We are honored to host this training in our library.
- What is reactive programming?
- Java 9 reactive features
- Creating and observing sources with RxJava
- Unit testing
- Akka streams in a reactive environment
- Building a sample reactive application
Skill Level Intermediate
1. What Is Reactive Programming?
2. Reactivity in Java 9
3. Introducing RxJava 2.0
5. Concurrency and Unit Testing
6. Akka Streams
7. Real-Life Reactive Application
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.