Skip to content

LayoutViewHostUnsafe(Context, int, ViewGroup, bool, bool, ResolveStrategy) constructor

Defined in

Type: LayoutViewHostUnsafe Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net10.0-android36.0

protected LayoutViewHostUnsafe(Context context, int layoutId, ViewGroup parent, bool attachToRoot, bool performAutoWireup, ControlFetcherMixins.ResolveStrategy resolveStrategy)

View source

Summary: Initializes a new instance of the LayoutViewHostUnsafe class by inflating a layout resource and optionally wiring child controls to properties by reflection.

Parameters

NameTypeDescription
contextContextThe Android context.
layoutIdintThe layout resource identifier.
parentViewGroupThe parent view group.
attachToRootboolWhether to attach the inflated view to the parent.
performAutoWireupboolIf true, wires child controls to properties by reflection.
resolveStrategy[ResolveStrategy](#Which properties the auto-wireup considers.