Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Linking Assemblies leads to Binding Property not updating

$
0
0

In my Xamarin.Forms app, there is an issue when creating the Release build:

In MyView.xaml, I have a Label with a Text binding:

<Label Text="{Binding ProgressInfo.Message, Mode=TwoWay}" />

In MyViewModel.cs I have the Property:

private (double Value, string Message) progressInfo;
public ( double TotalProgressInPct, string Message) ProgressInfo { get => progressInfo; set => SetProperty(ref progressInfo, value); }

where SetProperty is from a different assembly (MvvmHelpers)

The update of the text label works fine with No Linking, but not with Link SDK Assemblies, where the Label text does not update. All other Labels are updated just fine.

For some reason, the tuple character of the property does not work nice with the Linker? Thankful for any hints!


Viewing all articles
Browse latest Browse all 91519

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>