In Xamarin Forms, in a Dependency Service, I need to access an Asset.
How do I get the AssetManager from within a Dependency Service?
Try using Forms.Context.Assets
. It will return an AssetManager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With