Hey, great article! I observed that you used a LiveData inside your repository; probably inspired by Google's Architecture Guide. But this is an anti-pattern and you should replace the livedata with Kotlin's Flow.
Software Developer | From designing microservices to trying to design a perfect 5-9 every day — the real challenge is structuring a life that doesn't need constant garbage collection
Hey, great article! I observed that you used a LiveData inside your repository; probably inspired by Google's Architecture Guide. But this is an anti-pattern and you should replace the livedata with Kotlin's Flow.
You can read this article for a detailed explanation: proandroiddev.com/no-more-livedata...
Thanks for sharing! I was wondering why we would do that... LiveData (Android dependency) in business logic, seemed weird.
Thank you so much! I'll go through the article and try to make corrections as soon as possible