Skip to content

Instantly share code, notes, and snippets.

@fdundjer
Created January 25, 2021 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fdundjer/48eccbff9a53cbda6f3384bd2fb1b662 to your computer and use it in GitHub Desktop.
Save fdundjer/48eccbff9a53cbda6f3384bd2fb1b662 to your computer and use it in GitHub Desktop.
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