How to scope a class to a specific activity in and...
# koin
a
How to scope a class to a specific activity in android and its equivalent view in IOS? so that when destroyed the view the class is removing from memory automatically? I know that we have
scope<Activity>{}
in android, but I couldn’t use it from the shared android code
a
you not necessarly need a sope, a factory instance injected in activity/fragment is also destroyed at the end