xamarin-component

setting up a simple component with data binding

妖精的绣舞 提交于 2019-12-11 15:28:54
问题 I am trying to set up a component with data binding. This is basically a seperate content view that would have a property Item of type Item and supports binding. The following is the definition for the binding: public static readonly BindableProperty ItemProperty = BindableProperty.Create( nameof(Item), typeof(Item), typeof(ItemComponent), null, defaultBindingMode: BindingMode.TwoWay, propertyChanged: ItemPropertyChanged); private readonly ItemComponentViewModel vm; static void

Xamarin app only compiles in debug mode, not release mode, when using 3rd party Xamarin component

痞子三分冷 提交于 2019-12-10 16:33:00
问题 I'm attempting to integrate the Localytics SDK (via their Xamarin component) into my Xamarin Android app. It compiles in Debug mode, however if I switch to a Release build then it errors on compile: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Error executing task LinkAssemblies: error XA2006: Could not resolve reference to 'Android.Gms.Gcm.Iid.InstanceIDListenerService' (defined in assembly 'LocalyticsXamarin.Android, Version=4.2.0