The following example shows how Xamarin.Forms.DependencyFetchTarget can be used to specify a new instance:
C# Example
var secondFetch = DependencyService.Get<IDependencyTest> (DependencyFetchTarget.NewInstance);
| Member Name | Description |
|---|---|
| GlobalInstance | Return a global instance. |
| NewInstance | Return a new instance. |