O'Reilly logo

Mastering Android Application Development by Antonio Pachón Ruiz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Image Handling and Memory Management

In this chapter, we will take a look at how to show images downloaded from a URL. We will discuss how to do this using the Android native SDK as well as the commonly used third-party libraries. We will consider key concepts and features such as download, compression, cache systems, and storage in memory or disk.

We will also discuss what a nine patch is and how to create it, and we will speak about the different size and density folder for drawables by introducing vector drawables.

The final section will be focused on memory management. Identifying memory leaks in our app is a critical task, which usually happens while working with images. We will take a look at the common mistakes that can lead to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required