Book Image

Reactive Programming in Kotlin

By : Rivu Chakraborty
Book Image

Reactive Programming in Kotlin

By: Rivu Chakraborty

Overview of this book

In today's app-driven era, when programs are asynchronous, and responsiveness is so vital, reactive programming can help you write code that's more reliable, easier to scale, and better-performing. Reactive programming is revolutionary. With this practical book, Kotlin developers will first learn how to view problems in the reactive way, and then build programs that leverage the best features of this exciting new programming paradigm. You will begin with the general concepts of Reactive programming and then gradually move on to working with asynchronous data streams. You will dive into advanced techniques such as manipulating time in data-flow, customizing operators and provider and how to use the concurrency model to control asynchronicity of code and process event handlers effectively. You will then be introduced to functional reactive programming and will learn to apply FRP in practical use cases in Kotlin. This book will also take you one step forward by introducing you to Spring 5 and Spring Boot 2 using Kotlin. By the end of the book, you will be able to build real-world applications with reactive user interfaces as well as you'll learn to implement reactive programming paradigms in Android.
Table of Contents (20 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Summary


We are done with the final chapter of the book. In this chapter, we learned how to configure Retrofit for RxKotlin and RxAndroid. We learned how to make our Android views and events as well as our custom views reactive.

We learned how to use RxJava2Adapter for Retrofit and how to use Subject for event passing. We also learned how to use RxBindings.

Throughout this book, we tried to go to the depth of reactive programming and cover every possible concept, and we tried to make all our code reactive.

Note

If you find any questions, or if you get any concerns regarding this book, feel free to drop a email at [email protected] and mention Book Query - Reactive Programming in Kotlin in the subject line of the email. You can also check out Rivu Chakraborty's website (http://www.rivuchk.com) as he regularly posts there about Kotlin, Google Developer Group Kolkata, and Kotlin Kolkata User Group Meetups. He also writes tutorials and blogs there as well as writes introductions to Android...