Xamarin.Forms.Nuke icon indicating copy to clipboard operation
Xamarin.Forms.Nuke copied to clipboard

Is it possible to add a placeholder for downloads and errors?

Open KazysNoobiys opened this issue 3 years ago • 3 comments

It would be great if it were possible to customize placeholder. The native Nuke has that option. In GlideX it is also possible. But here I haven't found any possibility. I also created an issue in NukeProxy repository, because it seems there is no way to achieve it without changes in api. https://github.com/roubachof/NukeProxy/issues/5

KazysNoobiys avatar Dec 02 '21 13:12 KazysNoobiys

Nuke and GlideX for XF are just Image source handlers, therefore the api surface is the same than the regular Image api. Unfortunately to this day XF doesn't support Placeholder and errors. I guess it could be implemented with attached properties, I will gladly merge a PR with such functionalities :)

roubachof avatar Dec 02 '21 16:12 roubachof

While being far from perfect and need some work after recent updates, I tried to extend the library already. Maybe my post will be a source of inspiration...

MSicc avatar Dec 03 '21 04:12 MSicc

Hi @roubachof

If I send a pull request with the @MSicc approach, would it be possible to release a new version of the Nuget Package?

victorperez2911 avatar Jul 08 '23 16:07 victorperez2911