LayoutViewHostUnsafe class¶
Attributes: [RequiresUnreferencedCode("Auto-wireup finds the host's properties and the app's Android resource ids by reflection, which the trimmer cannot see. Use LayoutViewHost or ReactiveViewHost and wire controls in the bind callback to stay trim and ahead-of-time safe.")] [RequiresDynamicCode("Auto-wireup finds the host's properties and the app's Android resource ids by reflection, which the trimmer cannot see. Use LayoutViewHost or ReactiveViewHost and wire controls in the bind callback to stay trim and ahead-of-time safe.")] [DebuggerDisplay("{View}")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.LayoutViewHostUnsafe
Modifiers: public
Summary¶
A LayoutViewHost that can wire its child controls to its properties by reflection.
Applies to
net10.0-android36.0
Class hierarchy
classDiagram
class LayoutViewHostUnsafe
class LayoutViewHost
LayoutViewHost <|-- LayoutViewHostUnsafe
Inherits from: LayoutViewHost
Remarks¶
Auto-wireup finds each property of the derived host by reflection and looks up the matching control id in the app's generated Android resource type. The trimmer cannot see either lookup, so this type is not safe to trim or to compile ahead of time.
Use LayoutViewHost and wire the controls in its bind callback when you can.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [LayoutViewHostUnsafe](# class by inflating a layout resource and optionally wiring child controls to properties by... |
Inherited members
ReactiveUI.Reactive.LayoutViewHost.#ctorReactiveUI.Reactive.LayoutViewHost.#ctor(Android.Content.Context,System.Int32,Android.Views.ViewGroup,System.Boolean)ReactiveUI.Reactive.LayoutViewHost.#ctor(Android.Content.Context,System.Int32,Android.Views.ViewGroup,System.Boolean,System.Action{ReactiveUI.Reactive.LayoutViewHost,Android.Views.View})ReactiveUI.Reactive.LayoutViewHost.op_Implicit(ReactiveUI.Reactive.LayoutViewHost)~Android.Views.ViewReactiveUI.Reactive.LayoutViewHost.ToViewReactiveUI.Reactive.LayoutViewHost.ViewSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString