<@U53V6CGPJ> Specifically for Android you should i...
# android
@mnawrot Specifically for Android you should if in any way possible use applicationContext for this as it will not keep your activity around longer than needed. If a WeakReference works, you probably didn't need it in the first place (what do you do if the reference is cleaned up?). In general you need to think about the lifetime of your class and make sure it doesn't outlive your context. In some cases passing the context as parameter may be a better solution (perhaps an extension function on Context)