Database Reference
In-Depth Information
If you have an app that needs pictures and retrieves data via a network call,
you should make sure that the API doesn't already include smaller thumbnail
versions of the pictures. There's a small performance cost associated with
converting images on the fly like this.
It's time to build and run! Give it a go. You should see exactly what you saw
before:
The app should work as before, and you might even notice a small performance
difference because of the thumbnails. But the main reason for this change was to
improve memory usage.
Verify the changes
Now that you've made all the necessary changes to the project, it's time to see if
you actually improved the app.
While the app is running, use the Memory Report to view how much RAM the app
is using. This time only about 41 MB of RAM or 8.2% of total RAM is being used.
Search WWH ::




Custom Search