Loaders work on a separate thread so your app carries on working while the Loader gets the data. Loaders monitor the data source for any changes and updates the data it gives you. Loaders take care of restoring the cursor after a configuration change without having to do a re-query
Here is the code snippet for the same.You can download the source code from github
No comments:
Post a Comment