Exemple #1
0
        protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Interfaces.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
        {
            base.FillTargetFactories(registry);

            registry.RegisterFactory(new MvxCustomBindingFactory <TextView>("TextColor", tv => new TextViewColorBinding(tv)));
        }
Exemple #2
0
 protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Interfaces.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     base.FillTargetFactories(registry);
     registry.RegisterFactory(new MvxCustomBindingFactory <MvxBindableSpinner>("SelectedItem", (spinner) => new SpinnerSelectedItemBinding <Category>(spinner)));
 }