Exemplo n.º 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)));
        }
Exemplo n.º 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)));
 }