Class ControlFetcherMixin
- Namespace
- ReactiveUI.AndroidSupport
- Assembly
- ReactiveUI.AndroidSupport.dll
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.
public static class ControlFetcherMixin : Object
- Inheritance
-
ControlFetcherMixin
Methods
WireUpControls(Fragment, View, ResolveStrategy)
Wires a control to a property. This should be called in the Fragment's OnCreateView, with the newly inflated layout.
public static void WireUpControls(this Fragment fragment, View inflatedView, ControlFetcherMixin.ResolveStrategy resolveMembers = 0)
Parameters
fragment
FragmentThe fragment.
inflatedView
ViewThe inflated view.
resolveMembers
ControlFetcherMixin.ResolveStrategyThe resolve members.