In this article, I will demonstrate a simple way of converting a callback-based listener to a flow-based reactive design — The introduction of Kotlin as a first class language for Android development around 2018 had kicked off a new era of MAD — Modern Android Development, and with it, we received a new type that can emit multiple values sequentially. In our work as Android developers, we often come across…