Our latest Kotlin book — Reactive Programming with Kotlin — is now complete with ten new chapters that will take your reactive apps to the next level! And, for the next two weeks, you can get this book for $10 off!
Read on to learn:
- More about Reactive Programming with Kotlin
- What’s new in this edition of the book
- About the author
- How you can get your own copy!
- Section I: Getting Started with RxJava: Learn the basics of RxJava and explore what kinds of asynchronous programming problems RxJava addresses, and what kind of solutions it offers. Learn about the few basic classes that allow you to create and observe event sequences, which are the foundation of the Rx framework.
- Section II: Operators & Best Practices: Start by looking into filtering operators, which allow you to process some events but ignore others. Then, move on to transforming operators, which allow you to create and express complex data transformations.
- Section III: Intermediate RxJava: In this section, explore writing complete apps with RxJava that require you to take care of more intermediate topics than simply observing for events and processing them with Rx. In a full production-quality app, you will need to build an error handling strategy, do more advanced multi-threading processing, create a solid test suite, and more.
- Section IV: RxJava Community Cookbook: Explore a few of the many community open source projects. The section contains four short cookbook-style chapters that look briefly into four community projects that help you with binding Android Views, talking to your server with Retrofit, persisting preferences data, and handling user permissions.
- Section V: Putting It All Together: The two chapters in this section are going to help you learn how to build real-life applications with RxJava. Once you finish working through this section, you will be one of the top RxJava developers out there.
- Intro to Schedulers: This chapter will cover the beauty behind schedulers, where you’ll learn why the Rx abstraction is so powerful and why working with asynchronous programming is far less less painful than using locks or queues.
- Flowables & Backpressure: Observables are very powerful, but what happens if a subscriber can’t keep up with the next events? You’ll see how to handle this situation using Flowables.
- Testing RxJava Code: Testing your code is at the heart of writing good software— RxJava comes with lots of nifty tricks for testing everything under the sun.
- Creating Custom Reactive Extensions: Beyond using the elements made available directly by RxJava, you can also create RxJava wrappers around existing non-Rx frameworks. You’ll learn how to create and incorporate such wrappers into your reactive application.
- RxBindings: You’ll learn how the extremely handy library RxBinding takes care of making reactive bindings for the Android View classes, and see how to use RxBinding in an app.
- Retrofit: In earlier chapters, you’ve used Retrofit to add networking to your reactive apps. In this chapter, explore exactly how Retrofit interfaces with the Rx world and see how you can take advantage of all that it offers.
- RxPreferences: The RxPreferences library provides a reactive wrapper around SharedPreferences. In this chapter, you’ll learn how the library works and how you can use it to effectively stream preference changes.
- RxPermissions: There’s a fantastic library called RxPermissions that you’ll use in this chapter to help alleviate the pain points of asking the user for permissions at runtime, giving you a reactive flow when requesting permissions.
- RxJava & Jetpack: Android Jetpack is a suite of libraries provided by the Android team to make developing Android apps a breeze. You’ve already seen ViewModel and LiveData used with RxJava. In this chapter, you’ll explore using the Room and Paging Library components from Jetpack in a reactive app.
- Building a Complete RxJava App: To conclude this book, you’ll architect and code a small RxJava application. The goal is not to use Rx “at all costs”, but rather to make design decisions that lead to a tidy architecture with stable, predictable and modular behavior.
- If you’ve already bought the Reactive Programming with Kotlin digital edition, you can log in to the store and download the updated version, here.
- If you haven’t already bought this must-have addition to your development library, head over to our store page by Monday, July 8, to grab your copy at our special launch discount of just $49.99!
Reactive Programming with Kotlin takes you through the basics of RxJava all the way to building your very own app. Not only will you learn how to use RxJava to create complex reactive applications on Android, you’ll also see how to solve common application design issues by using RxJava, RxAndroid and RxKotlin. And, along the way, you’ll learn to exercise full control over the library and leverage the full power of reactive programming in your apps.
The book is broken into five sections to give you a beginning-to-end understanding of Rx on Android:
Reactive Programming with Kotlin is 100% complete and is available today with ten new chapters — and it’s on sale until Monday, July 8th!
Reactive Programming with Kotlin now has ten new chapters focused on operators, intermediate RxJava skills, an RxJava community cookbook and putting everything together as you build an app:
Alex Sullivan is a mobile developer who works at Thoughtbot in Boston, where he enjoys reactive programming, experimenting with different programming languages, and tinkering with fun approaches to building mobile applications. In his spare time, Alex enjoys traveling and relaxing with his partner, binging unhealthy amounts of Netflix and reading. Alex hopes to one day find a cat he’s not allergic to and rant about bracket placement to him or her.
Reactive Programming with Kotlin is available today, in full release and is 450+ pages of essential tutorial-style content to hone your Rx skills.
Remember, when you purchase this book, you get the digital PDF, e-pub, source code and project files, and free updates!