The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

LayoutViewHost Class

Summary

A class that implements the Android ViewHolder pattern. Use it along with GetViewHost.
Namespace
ReactiveUI
Interfaces
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type-.->Interface0["ILayoutViewHost"] click Interface0 "/api/ReactiveUI/ILayoutViewHost" Type-.->Interface1["IEnableLogger"] click Interface1 "/api/Splat/IEnableLogger" Type["LayoutViewHost"] class Type type-node Derived0["ReactiveViewHost<TViewModel>"]-->Type click Derived0 "/api/ReactiveUI/ReactiveViewHost_1"

Syntax

public abstract class LayoutViewHost : ILayoutViewHost, IEnableLogger

Constructors

Name Summary
LayoutViewHost() Initializes a new instance of the LayoutViewHost class.
LayoutViewHost(Context, int, ViewGroup, bool, bool) Initializes a new instance of the LayoutViewHost class.

Properties

Name Value Summary
View View?
Gets the view.

Operators

Name Value Summary
implicit operator View?(LayoutViewHost) View?

Extension Methods

Name Value Summary
BindCommand<LayoutViewHost, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<LayoutViewHost, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<LayoutViewHost, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<LayoutViewHost, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<LayoutViewHost, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<LayoutViewHost, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<LayoutViewHost, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<LayoutViewHost, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<LayoutViewHost, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<LayoutViewHost, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<LayoutViewHost, TViewModel, TViewProperty>(TViewModel?, Expression<Func<LayoutViewHost, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<LayoutViewHost, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<LayoutViewHost, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<LayoutViewHost, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<LayoutViewHost, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<LayoutViewHost, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<LayoutViewHost, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
Log<LayoutViewHost>() IFullLogger
Call this method to write log entries on behalf of the current class.
From LogHost
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Expression<Func<LayoutViewHost, IObservable<T7>?>>, Expression<Func<LayoutViewHost, IObservable<T8>?>>, Expression<Func<LayoutViewHost, IObservable<T9>?>>, Expression<Func<LayoutViewHost, IObservable<T10>?>>, Expression<Func<LayoutViewHost, IObservable<T11>?>>, Expression<Func<LayoutViewHost, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Expression<Func<LayoutViewHost, IObservable<T7>?>>, Expression<Func<LayoutViewHost, IObservable<T8>?>>, Expression<Func<LayoutViewHost, IObservable<T9>?>>, Expression<Func<LayoutViewHost, IObservable<T10>?>>, Expression<Func<LayoutViewHost, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Expression<Func<LayoutViewHost, IObservable<T7>?>>, Expression<Func<LayoutViewHost, IObservable<T8>?>>, Expression<Func<LayoutViewHost, IObservable<T9>?>>, Expression<Func<LayoutViewHost, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Expression<Func<LayoutViewHost, IObservable<T7>?>>, Expression<Func<LayoutViewHost, IObservable<T8>?>>, Expression<Func<LayoutViewHost, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Expression<Func<LayoutViewHost, IObservable<T7>?>>, Expression<Func<LayoutViewHost, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Expression<Func<LayoutViewHost, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Expression<Func<LayoutViewHost, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4, T5>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Expression<Func<LayoutViewHost, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3, T4>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Expression<Func<LayoutViewHost, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2, T3>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Expression<Func<LayoutViewHost, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet, T1, T2>(Expression<Func<LayoutViewHost, IObservable<T1>?>>, Expression<Func<LayoutViewHost, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<LayoutViewHost, TRet>(Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>, Expression<Func<LayoutViewHost, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WireUpControls(ControlFetcherMixin.ResolveStrategy) void
Wires a control to a property.
With<LayoutViewHost, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.