Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
#

weakreference

Here are 11 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.

  • 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.

Curate this topic

Add this topic to your repo

To associate your repository with the weakreference topic, visit your repo's landing page and select "manage topics."

Learn more