Created
July 26, 2017 04:03
-
-
Save devcfgc/b50249aa1f4e80261727b8eaf3f653d7 to your computer and use it in GitHub Desktop.
xamarin code snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################### | |
## call CrossPluginName.IsSupported to check if it exists support for this plugin/library with net standard | |
## http://motzcod.es/post/162402194007/plugins-for-xamarin-go-dotnet-standard | |
#################################################### | |
if(!CrossGeolocator.IsSupported) | |
return; | |
var position = await CrossGeolocator.Current.GetPositionAsync(TimeSpan.FromSeconds(10)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment