Sample for Xamarin.Forms DependencyService.
Use DependencyService.Get<T>(DependencyFetchTarget.GlobalInstance) to get singleton instance.
Use DependencyService.Get<T>(DependencyFetchTarget.NewInstance) to get new instance.
| Name | Name | Last commit date | ||
|---|---|---|---|---|