Mastering Android Application Development by Antonio Pachón Ruiz

Mastering Android Application Development by Antonio Pachón Ruiz

Author:Antonio Pachón Ruiz
Language: eng
Format: epub
Publisher: Packt Publishing


The second mechanism, the really interesting one, is ImageLoader. It handles multiple requests at the same time and is the mechanism to use in a list view for the reasons we explained in the previous section. We can create the cache mechanism that we want it to use—memory or disk.

It works using a special type of ImageView: NetworkImageView. When the ImageLoader object is ready, we can simply download an image with one line using NetworkImageView:

myNetworkImageView.setImage(urlString, imageloader);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.