I was using RxJava in my project and now I am changing the logic from observable to coroutines. but I am stuck at a point where UI clicks are rx based and the api is suspend