This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
Hello guys, first I need to thank you for this awesome sample, there's something I need to make sure that I've been seeing topics about GlobalScope and how you shouldn't use it for every task in the app to avoid memory leaks and resource shortage, So, what is your recommendation for make some improvement on UseCase layer?
From Kotlin 1.5, Global scope is considered delicate and should not be used. We can create a custom scope instance but make sure to cancel it on appropriate times.
Hello guys, first I need to thank you for this awesome sample, there's something I need to make sure that I've been seeing topics about GlobalScope and how you shouldn't use it for every task in the app to avoid memory leaks and resource shortage, So, what is your recommendation for make some improvement on UseCase layer?