getLoader

inline fun <Type : Any> AssetManager.getLoader(suffix: String? = null): AssetLoader<Type, *>?

Utility for accessing AssetLoader instances stored by the AssetManager.

Return

AssetLoader associated with the given type or null if none are registered.

Parameters

Type

type of loaded assets.

suffix

suffix required by the loader. Pass null to look for the default loader. Optional, null by default.