Hi, just wondering how to integrate Arrow’s `Resou...
# arrow
a
Hi, just wondering how to integrate Arrow’s
ResourceScope
in the context of Android Apps. Whether this directly replaces
Koin
as Dependency Injection. The examples I’ve read and seen have all been in relation to other platform. It is quite confusing to implement the same concept on mobile where the structure is different. Is there any tips on this topic specifically on mobile development?
y
ResourceScope
isn't really about DI. It's basically a cleaner way to have `Disposable`s if you're familiar with those. It's a way to defer cleanup of resources to the end of a scope
a
Thanks! Yes, understood. Its just that for most of the examples I’ve seen its also treated as such. For example here: https://github.com/serras/WeatherApp/blob/main/src/main/kotlin/Main.kt