public class BridgeAssetManager extends AssetManager
|Modifier and Type||Method and Description|
Clears the static
This initializes the static field
addAssetPath, addAssetPaths, close, finalize, getAssetAllocations, getCookieName, getGlobalAssetCount, getGlobalAssetManagerCount, getLocales, getSystem, isUpToDate, list, open, open, openFd, openNonAsset, openNonAsset, openNonAsset, openNonAsset, openNonAssetFd, openNonAssetFd, openXmlResourceParser, openXmlResourceParser, setConfiguration, setLocale
public static AssetManager initSystem()
AssetManager#mSystemwhich is used by methods who get a global asset manager using
AssetManager.getSystem(). They will end up using our bridge asset manager.
Bridgecalls this method after setting up a new bridge.
public static void clearSystem()
AssetManager.sSystemto make sure we don't leave objects around that would prevent us from unloading the library.