Class LayoutViewHost
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
A class that implements the Android ViewHolder pattern. Use it along with GetViewHost.
public abstract class LayoutViewHost : Object, ILayoutViewHost, IEnableLogger
- Inheritance
-
LayoutViewHost
- Implements
- Derived
- Extension Methods
Constructors
LayoutViewHost()
Initializes a new instance of the LayoutViewHost class.
protected LayoutViewHost()
LayoutViewHost(Context, int, ViewGroup, bool, bool)
Initializes a new instance of the LayoutViewHost class.
protected LayoutViewHost(Context ctx, int layoutId, ViewGroup parent, bool attachToRoot = false, bool performAutoWireup = true)
Parameters
ctx
ContextThe CTX.
layoutId
intThe layout identifier.
parent
ViewGroupThe parent.
attachToRoot
boolif set to
true
[attach to root].performAutoWireup
boolif set to
true
[perform automatic wire-up].
Properties
View
Gets the view.
public View? View { get; set; }
Property Value
- View
The view.
Operators
implicit operator View?(LayoutViewHost)
Casts the LayoutViewHost to a View.
public static implicit operator View?(LayoutViewHost layoutViewHost)
Parameters
layoutViewHost
LayoutViewHostThe LayoutViewHost to cast.
Returns
- View