Reactive Android Programming

Make the most of asynchronous android programming
Preview in Mapt

Reactive Android Programming

Tadas Subonis

Make the most of asynchronous android programming

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Reactive Android Programming Book Cover
Reactive Android Programming
$ 31.99
$ 22.40
Essential Angular 4 Book Cover
Essential Angular 4
$ 23.99
$ 16.80
Buy 2 for $34.30
Save $21.68
Add to Cart

Book Details

ISBN 139781787289901
Paperback225 pages

Book Description

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

In this book a 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(and high quality) application using advanced RxJava techniques to produce a high quality product.

Part 1 of the book will lead the developer through RxJava's initial setup in Android environment. In Part 2, the reader will learn 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 Retrofit library for remote requests.In Part 3, the reader will also learn advanced topics such as adding integration to Twitter to process its streaming data by combining it with stock data.

Table of Contents

Chapter 1: Building your First “Hello World” RxJava Application
Creating the application
Summary
Chapter 2: Understanding the Basics of RxJava
Observables
Disposables
Schedulers
Investigating the flow of an Observable
Flowable
Completable, Single, and Maybe types
Summary
Chapter 3: Learning to use Retrofit by Fetching Financial Data
Setting up Retrofit
Making HTTP requests
Transforming request data
Displaying data on the UI
Regular updates
Handling multiple records on the UI
Summary
Chapter 4: Integrating RxJava 1.0 with RxJava 2.0
Differences between the versions
Gluing different RxJava versions
Summary
Chapter 5: Writing Data to SQLite and Schedulers
Schedulers
Writing data with StorIO
Summary
Chapter 6: Error Handling and SQLite Data Reading
Exception handling in RxJava
Reading SQLite data with StorIO
Summary
Chapter 7: Integrating RxJava with Activity Lifecycle
Android Activity Lifecycle
Resource leaks
Cleaning up Subscriptions
Summary
Chapter 8: Writing Custom Observables
How to create custom Observables
Reading tweets for stocks reactively
Summary
Chapter 9: Advanced Observable Flows Explained
Unwrapping Observables
Passing values
Combining items
Filtering
Summary
Chapter 10: Higher Level Abstractions
Extracting code into methods
Using Transformations
Summary
Chapter 11: Basics of Subjects and Preference Persistence
Subjects
Using subjects in the application
Summary
Chapter 12: Learning to Read Marble Diagrams
Core elements of marble diagrams
Examining operators
Summary

What You Will Learn

  • Set up an environment for asynchronous that is reactive Android programming
  • Write custom observables and higher level abstractions
  • Orchestrating 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 the Twitter for those companies.

Authors

Table of Contents

Chapter 1: Building your First “Hello World” RxJava Application
Creating the application
Summary
Chapter 2: Understanding the Basics of RxJava
Observables
Disposables
Schedulers
Investigating the flow of an Observable
Flowable
Completable, Single, and Maybe types
Summary
Chapter 3: Learning to use Retrofit by Fetching Financial Data
Setting up Retrofit
Making HTTP requests
Transforming request data
Displaying data on the UI
Regular updates
Handling multiple records on the UI
Summary
Chapter 4: Integrating RxJava 1.0 with RxJava 2.0
Differences between the versions
Gluing different RxJava versions
Summary
Chapter 5: Writing Data to SQLite and Schedulers
Schedulers
Writing data with StorIO
Summary
Chapter 6: Error Handling and SQLite Data Reading
Exception handling in RxJava
Reading SQLite data with StorIO
Summary
Chapter 7: Integrating RxJava with Activity Lifecycle
Android Activity Lifecycle
Resource leaks
Cleaning up Subscriptions
Summary
Chapter 8: Writing Custom Observables
How to create custom Observables
Reading tweets for stocks reactively
Summary
Chapter 9: Advanced Observable Flows Explained
Unwrapping Observables
Passing values
Combining items
Filtering
Summary
Chapter 10: Higher Level Abstractions
Extracting code into methods
Using Transformations
Summary
Chapter 11: Basics of Subjects and Preference Persistence
Subjects
Using subjects in the application
Summary
Chapter 12: Learning to Read Marble Diagrams
Core elements of marble diagrams
Examining operators
Summary

Book Details

ISBN 139781787289901
Paperback225 pages
Read More

Read More Reviews

Recommended for You

Essential Angular 4 Book Cover
Essential Angular 4
$ 23.99
$ 16.80
Learning Android Google Maps Book Cover
Learning Android Google Maps
$ 39.99
$ 28.00
Python: End-to-end Data Analysis Book Cover
Python: End-to-end Data Analysis
$ 71.99
$ 50.40
ASP.NET Core: Cloud-ready, Enterprise Web Application Development Book Cover
ASP.NET Core: Cloud-ready, Enterprise Web Application Development
$ 79.99
$ 56.00
Reactive Programming in Kotlin Book Cover
Reactive Programming in Kotlin
$ 35.99
$ 25.20
Reactive Programming for Android [Video] Book Cover
Reactive Programming for Android [Video]
$ 124.99
$ 106.25