Installing and using Mobile Suite : Using webMethods Mobile Designer : Coding a Mobile Application : Image Caching : Managing the Image Cache
Managing the Image Cache
At times, it may be desirable to remove Images from the cache. This can become particularly important if the application is about to do something memory-intensive, or if the developer knows that a certain Image will not be needed again for a long period of time. The nUIController class provides additional static methods to clear the Image cache. nUIController.clearCache() removes all images from the Image cache. nUIController.clearCache(String) will remove a single Image from the cache with the path and file name given to load it initially.
Note:  
Although these methods are also available in the Image class itself, NativeUI performs additional management that requires the developer to use the methods in nUIController.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback