create

@NonNull
open fun create(@NonNull context: @NonNull Context, @Nullable attrs: @Nullable AttributeSet): @NonNull EdgeEffect(source)

Constructs and returns a new EdgeEffect themed using the given context, allowing support for the view attributes.

Parameters

context

Context to use for theming the effect

attrs

The attributes of the XML tag that is inflating the view