Inject Static Libraries And Plugins In Xamarin (Prism.Forms)

Inject Static Libraries And Plugins In Xamarin (Prism.Forms)

When using a container for dependency injection in your Xamarin.Forms app, you may find yourself trying to use a plugin or library that is static that you want to register with your container. Having statics in our code makes it hard to test and causes coupling. In this post, I will demonstrate using Prism.Forms how to inject a static plugin or library that may or may not expose an abstraction.

Read more...

要查看或添加评论,请登录

Hussain Abbasi的更多文章

社区洞察

其他会员也浏览了