/// <summary> /// Fill the Binding Factory Registry with bindings from the support library. /// </summary> protected override void FillTargetFactories(IMvxTargetBindingFactoryRegistry registry) { MvxAppCompatSetupHelper.FillTargetFactories(registry); base.FillTargetFactories(registry); MvxPreferenceSetupHelper.FillTargetFactories(registry); registry.RegisterFactory(new MvxCustomBindingFactory <SwipeRefreshLayout>("IsRefreshing", (swipeRefreshLayout) => new SwipeRefreshLayoutIsRefreshingTargetBinding(swipeRefreshLayout))); registry.RegisterCustomBindingFactory <Android.Widget.EditText>("LineColor", (view) => new ValidationEditTextViewTargetBinding(view)); registry.RegisterCustomBindingFactory <Preference>("Click", (pref) => new MvxPreferenceClickTargetBinding(pref)); }
protected override void FillTargetFactories(IMvxTargetBindingFactoryRegistry registry) { MvxAppCompatSetupHelper.FillTargetFactories(registry); MvxPreferenceSetupHelper.FillTargetFactories(registry); base.FillTargetFactories(registry); }