Reactive Programming for Android

Reactive Programming for Android

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 3h 17m | 890 MB

Make the most of asynchronous android programming

Writing code on Android is hard. Writing high-quality code that involves concurrent and parallel tasks is even harder. Ensuring that this code will run without unforeseen race conditions is an order-of-magnitude harder. RxJava can help write code for such tasks.

In this course the novice developer will be introduced to a wide variety of tools that RxJava provides to enable them to produce robust and high-quality code for their asynchronous tasks by building a relatively simple application using advanced RxJava techniques to produce a high-quality product.

The starting sections will lead the developer through RxJava’s initial setup in the Android environment. Later you will learn about RxJava 2.0 step-by-step by starting off with stock data processing and display. The developer will learn to choose appropriate Schedulers and to use the Retrofit library for remote requests. In the final sections, the viewer will also learn advanced topics such as adding integration to Twitter to process its streaming data by combining it with stock data.

What You Will Learn

  • Set up an environment for asynchronous (that is, Reactive) Android programming
  • Write custom observables and higher-level abstractions
  • Orchestrate multiple calls using Reactive programming principles
  • Fetch remote financial data using RxJava
  • Integrate and process Twitter streams gracefully
  • Utilize Reactive programming to develop interactive and responsive Android apps
  • Create your own application to follow financial stock updates in real-time based on selected companies’ symbols
  • Integrate updates from Twitter for those companies.
Table of Contents

01 The Corse Overview
02 Dependencies
03 The Very First User Interface
04 Using Retrolambda
05 Observables,Disposable,and Schedulers
06 Investigating the Flow of an Observable
07 Flowable
08 Completable, Single, and Maybe Types
09 Setting up Retrofit and Making HTTP Requests
10 Transforming Request Data
11 Regular Updates
12 Handling Multiple Records on the UI
13 Differences Between the Versions
14 Gluing Different RxJava Versions
15 Types of Schedulers
16 Using Schedulers
17 Writing Data with StorIO
18 Exception Handling in RxJava
19 Showing Errors in the Android UI
20 Centralized Error Logging
21 Reading SQLite Data with StorIO
22 The Android Activity Lifecycle
23 Resource Leaks
24 Cleaning up Subscriptions
25 How to Create Custom Observables
26 Reading Tweets for Stocks Reactively
27 Unwrapping Observables
28 Passing Values
29 Combining Items
30 Filtering
31 Extracting Code into Methods
32 Using Transformations
33 Simplifying Code with Transformations
34 Creating Transformer Classes
35 File-based Caching Example
36 Using Transformation to Track the Execution Time
37 Using Transformation to Debug Observables
38 Subjects
39 Using RxPreferences
40 Creating the UI for Settings
41 Updating the Flow