Skip to content

LayoutViewHost class

Attributes: [DebuggerDisplay("{View}")]

Defined in

Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll Full name: ReactiveUI.Reactive.LayoutViewHost Modifiers: public

Summary

View source

Base class implementing the Android ViewHolder pattern.

LayoutViewHost owns a single inflated View instance and optionally wires child controls to properties on the host.

Every constructor is safe to trim and to compile ahead of time. Wire child controls in the bind callback, or derive from LayoutViewHostUnsafe to wire them by reflection.

Applies to

net10.0-android36.0

Class hierarchy
classDiagram
class LayoutViewHost
class ILayoutViewHost {
    <>
}
ILayoutViewHost <|.. LayoutViewHost
class IEnableLogger {
    <>
}
IEnableLogger <|.. LayoutViewHost

Implements: ILayoutViewHost, IEnableLogger

Constructors

NameSummary
.ctorInitializes a new instance of the [LayoutViewHost](# class.

Properties

NameSummary
ViewGets the view associated with the current context, if available.

Methods

NameSummary
ToViewGets the backing [View](# for this host as a friendly alternate to the implicit operator.

Operators

NameSummary
static op_ImplicitImplicitly converts a [LayoutViewHost](# to its backing [View](#

Derived types

Inherited members