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

ControlFetcherMixin Class

Summary

Extension methods associated with the ControlFetcher class. ControlFetcherMixin helps you automatically wire-up Activities and Fragments via property names, similar to Butter Knife, as well as allows you to fetch controls manually.
Namespace
ReactiveUI
Base Types
  • object
graph BT Type-->Base0["object"] Type["ControlFetcherMixin"] class Type type-node

Syntax

public static class ControlFetcherMixin

Methods

Name Value Summary
GetControl(Activity, string?) View?
Gets the control from an activity.
static
GetControl(View, Assembly, string?) View?
Gets the control from a view.
static
WireUpControls(Activity, ControlFetcherMixin.ResolveStrategy) void
Wires a control to a property.
static
WireUpControls(Fragment, View, ControlFetcherMixin.ResolveStrategy) void
Wires a control to a property. This should be called in the Fragment's OnCreateView, with the newly inflated layout.
static
WireUpControls(ILayoutViewHost, ControlFetcherMixin.ResolveStrategy) void
Wires a control to a property.
static
WireUpControls(View, ControlFetcherMixin.ResolveStrategy) void
Wires a control to a property.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.