Back to project page music-tag.
The source code is released under:
Apache License
If you think the Android project music-tag listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package binauld.pierre.musictag.service; // ww w . j a va2s . co m import android.graphics.Bitmap; /** * Implement the service locator pattern for the bitmap Cache service. */ public class Locator { private static CacheService<Bitmap> cacheService; /** * Provide a bitmap cache service. * @param cacheService The bitmap cache service provided. */ public static void provide(CacheService<Bitmap> cacheService) { Locator.cacheService = cacheService; } /** * Get The bitmap cache service. * @return The bitmap cache service. */ public static CacheService<Bitmap> getCacheService() { return Locator.cacheService; } }