ProtectionLayout

constructor(@NonNull context: @NonNull Context)(source)
constructor(@NonNull context: @NonNull Context, @Nullable attrs: @Nullable AttributeSet)(source)
constructor(@NonNull context: @NonNull Context, @Nullable attrs: @Nullable AttributeSet, @AttrRes defStyleAttr: Int)(source)
constructor(@NonNull context: @NonNull Context, @Nullable attrs: @Nullable AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)(source)


constructor(@NonNull context: @NonNull Context, @NonNull protections: @NonNull List<Protection>)(source)

Constructs a view which draws protections contained in the specified list.

Parameters

context

the Context the view is running in, through which it can access the current theme, resources, etc.

protections

a list of protections associated with a local area.