Skip to content

The sample code above serves as a basic example of how to retain an AsyncTask across a configuration change

Notifications You must be signed in to change notification settings

laanayabdrzak/Retained-fragment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Retained fragment

The sample code above serves as a basic example of how to retain an AsyncTask across a configuration change using retained Fragments. The code guarantees that progress updates and results are delivered back to the currently displayed Activity instance and ensures that we never accidentally leak an AsyncTask during a configuration change. The design consists of two classes, a MainActivity

Developed By

Follow me on LinkedIn

Contributions

Any contributions are welcome! 😄

About

The sample code above serves as a basic example of how to retain an AsyncTask across a configuration change

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages