ly.img.android.pesdk.backend.decoder.vector / XmlDrawableDecoder / create

create

@Nullable static fun create(@NonNull res: Resources, @DrawableRes resId: int, @Nullable theme: Theme): VectorDrawableCompat

Create a VectorDrawableCompat object.

Parameters

res - Resources: the resources.

resId - int: the resource ID for VectorDrawableCompat object.

theme - Theme: the theme of this vector drawable, it can be null.

Return
VectorDrawableCompat: a new VectorDrawableCompat or null if parsing error is found.