Skip to content

Instantly share code, notes, and snippets.

@fdundjer

fdundjer/Setup.cs

Created Jan 25, 2021
Embed
What would you like to do?
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