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
About the Author
About the Reviewers
Customer Feedback

About the Author

Rivu Chakraborty is a Google-certified Android developer and a senior tech member at the Institute of Engineers (India), and also has certifications in Scrum. With over 5 years of experience, he is currently working as a senior software engineer (Android) at Indus Net Technologies Pvt. Ltd.

He considers himself a Kotlin and Android enthusiast and a Kotlin evangelist. He has been using Kotlin since December 2015, so he has around 2 years of experience in Kotlin at the time of publishing this book. As a part of his mission to spread the use and knowledge of the Kotlin language as much as possible, he created the KotlinKolkata user group—one of the most active Kotlin user groups throughout the world, and he is the Founder Organizer of KotlinKolkata. He is also an active member of GDG Kolkata and gives talks at the GDG Kolkata meetups.

As Rivu believes that knowledge increases by sharing, he writes a lot of tutorials on JavaCodeGeeks, AndroidHive, and his own site (, which you can visit to read his tutorials and learn more about him.


I would like to thank my wife, parents and whole family (including inlaws) for being with me while I was writing this book.

I would like to thank my college teachers, Avik Dey and Nandan Banerjee—they have always encouraged and helped me learn and strive to become a better developer from the beginning of my engineering course till date. I always feel more encouraged whenever I speak to them.

Also, this book wouldn't have been completed without the continuous guidance and support of the Packt team, especially by the CDE of this book, Akshada—her encouraging comments meant a lot to me.