Brief: Here we will learn how to add constructor Dependency Injection in xamarin.form using AutoFac
What is Dependency injection?
Before getting into any definition let us look into a simple example, For xamarin form application
whenever we need to get the native functionalities ( Check internet connectivity, Location,Camera
and any device details etc) Dependency injection is the best way to get the solution.
In my previous post explained Android Keystore based Encryption and Decryption in Xamarin Android, ReOrder the list items by drag and drop in xamarin android, Custom Image Gallery Control using Xamarin Form
In below example shown how to launch phone dialer from xamarin form project.