-
public class RiveAnimationView.RendererAttributes.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static RiveAnimationView.RendererAttributes.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final FileAssetLoaderassetLoaderFrom(String name, Context context)When a name is provided, it tries to build a FileAssetLoader. -
-
Method Detail
-
assetLoaderFrom
final FileAssetLoader assetLoaderFrom(String name, Context context)
When a name is provided, it tries to build a FileAssetLoader. name needs to be a full class name, including the package (e.g.
java.lang.Thread)This function expects that the classname provided is either a FileAssetLoader, for which the class has a constructor with no parameters, or a ContextAssetLoader, for which the constructor has a single parameter of type Context.
-
-
-
-