#
weakreference
Here are 2 public repositories matching this topic...
Explains the lifecycle of an AsyncTask when the activity is in OnPause state or when the activity gets destroyed or when the application gets destroyed. Uses Weak reference of the host Activity to avoid memory leak issues in case the user destroys the host activity but the async task is still functioning.
android-application asynchronous-programming asynctask lifecycle weakreference memoryleaks strongreference
-
Updated
Aug 17, 2020 - Java
Improve this page
Add a description, image, and links to the weakreference topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the weakreference topic, visit your repo's landing page and select "manage topics."