Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Project 4: Flickr with Cache > Usage of the FlickrCache When Offline - Pg. 242

242 project 4: Flickr with cache source="{data.thumbnail.url}"/> ... </s:ItemRenderer> When the image is loaded the function will create an instance of CacheItem, set its properties, call its doCache() method, and add the item to the cache. If we run the application and we perform a successful search we should see on our desktop a new folder, named FlickrCache, which contains a set of 20 images. They are the thumbs cached by our application (Figure 4.6). Now we need to use them when there is no Internet connection.