Created
January 25, 2021 10:30
-
-
Save fdundjer/48eccbff9a53cbda6f3384bd2fb1b662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Android.Widget; | |
using HTEC.TargetBinding.Android.Bindings; | |
using HTEC.TargetBinding.Core; | |
using MvvmCross.Binding.Bindings.Target.Construction; | |
using MvvmCross.Platforms.Android.Core; | |
namespace HTEC.TargetBinding.Android | |
{ | |
public class Setup : MvxAndroidSetup<App> | |
{ | |
protected override void FillTargetFactories(IMvxTargetBindingFactoryRegistry registry) | |
{ | |
base.FillTargetFactories(registry); | |
registry.RegisterCustomBindingFactory<ImageView>("TintColor", view => new TintColorMvxTargetBinding(view)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment