ControlFetcherMixin Class

Summary

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.AndroidSupport
Base Types
  • object
graph BT Type-->Base0["object"] Type["ControlFetcherMixin"] class Type type-node

Syntax

public static class ControlFetcherMixin

Methods

Name Value Summary
GetControl<T>(Activity, string) T
Gets the control from an activity.
static
GetControl<T>(Android.Support.V4.App.Fragment, string) T
Gets the control from an activity.
static
GetControl<T>(View, string) T
Gets the control from an activity.
static
WireUpControls(Activity, ControlFetcherMixin.ResolveStrategy) void
Wires a control to a property.
static
WireUpControls(Android.Support.V4.App.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