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
arnaud.giuliani
06/16/2023, 1:51 PM
you not necessarly need a sope, a factory instance injected in activity/fragment is also destroyed at the end