FFImageLoading
FFImageLoading copied to clipboard
TintTransformation Color bindable?
The first requests about getting the TintTransformation bindable in Xamarin forms reach back to early 2018. But i could not find any informations about if and when this is expected to happen..
so are there any plans to get FFImageLoading to let me tint an image via a xaml binding or not?
Found a solution that sometimes work:
Import xamarin community tool kit:
xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
and then add the tintcolor to your svg like so
<ffimageloadingsvg:SvgCachedImage
x:Name="NeedleSVG"
WidthRequest="200"
HeightRequest="200"
CacheType="None"
Source="resource://XamarinAttributeProgrammer.Resources.Images.Needle.svg"
xct:IconTintColorEffect.TintColor="{Binding NeedleColorInHex}"/> <!-- KEY PART RIGHT HERE-->
For my project, I have to update a property in order for it to render in real time, but idk why that certain (bool) value would have any affects to this....