Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

RxJava: Design Patterns for Android Developers

via LinkedIn Learning

Overview

Learn reactive programming with RxJava. Explore key aspects of this library as you learn simple design patterns and review real-world use cases.

Syllabus

Introduction
  • Welcome
  • What you should know
  • The project we'll be building
  • Set up our starter project
1. The Basics
  • What is RxJava?
  • Observables
  • Observable types
  • BehaviorRelay: Imperative
  • BehaviorRelay: Declarative
  • Subjects
  • Creating an onError method
  • Creating an onComplete method
  • Creating a simple observable
  • Shortcuts for creating observables
  • Traits
2. Simple UI Example
  • Overview
  • JSONPlaceholder
  • Simple networking
  • Rx single creation
  • Rx single subscription
3. The Model Layer
  • MVP and MVVM: Architecture with Rx
  • Model layer
  • Database: From model layer to UI
  • Database: Showing our result
  • Network layer overview
  • Network: Network layer
  • Network: From model layer to UI
  • Network: Showing our results
  • Network: Using a more reactive way
4. Grouping API Service Calls
  • Overview and task creation
  • Wrap task in observable
  • Observable zip
  • Showing our results
  • Handling null values
  • Handling exceptions
  • Failure result type
5. Binding to the UI
  • Prepare reactive presenter
  • Simple binding
  • Simple list binding
  • RxBinding TextView
  • RecyclerView: Binding setup
  • RecyclerView: Seeing it in action
  • Sectioned data source setup
  • Sectioned data source in action
6. Threading
  • Threading and UI controls
  • observeOn vs. subscribeOn gotcha
Conclusion
  • Next steps

Taught by

Jon Bott

Reviews

4.3 rating at LinkedIn Learning based on 30 ratings

Start your review of RxJava: Design Patterns for Android Developers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.