RxJava Essentials
- Length: 140 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-05-28
- ISBN-10: 1784399108
- ISBN-13: 9781784399108
- Sales Rank: #3270458 (See Top 100 Books)
Learn reactive programming to create awesome Android and Java apps
About This Book
- Create interactive Android apps with Java Reactive Extensions
- Learn Reactive Programming through real-life examples that you can use in your Android app
- Beat Android concurrency and threading issues to take your apps to a new level
Who This Book Is For
If you are an experienced Java developer, reactive programming will give you a new way to approach scalability and concurrency in your backend systems, without forcing you to switch programming languages.
In Detail
RxJava―Reactive Extensions for the JVM―is a library for composing asynchronous and event-based programs using Observable sequences for the Java VM, which will help you beat Android platform limitations to create astonishing Android apps.
Starting with some quick background information on the Rx .NET library, this book quickly moves on to your first example. You will understand Observables and learn to filter, transform, or merge them in detail. Next, you will learn how to get rid of Threads, AsyncTasks, and Handlers with Schedulers to create a smooth user experience. Develop an easy, ready-to-go approach to REST API communications and enrich your skills by working with new challenging examples.
By the end of the book, you will have explored the reactive programming world and will have created your first Android app without having to think about threading, networking, concurrency, and collection management.
Table of Contents
Chapter 1. RX – from .NET to RxJava
Chapter 2. Why Observables?
Chapter 3. Hello Reactive World
Chapter 4. Filtering Observables
Chapter 5. Transforming Observables
Chapter 6. Combining Observables
Chapter 7. Schedulers – Defeating the Android MainThread Issue
Chapter 8. REST in Peace – RxJava and Retrofit