Created
April 28, 2016 20:50
-
-
Save mallibone/4aa172ba473c0c7637921f966e5f7fb7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
protected override void OnCreate(Bundle bundle) | |
{ | |
base.OnCreate(bundle); | |
global::Xamarin.Forms.Forms.Init(this, bundle); | |
Xamarin.Forms.Forms.ViewInitialized += (object sender, Xamarin.Forms.ViewInitializedEventArgs e) => { | |
if (!string.IsNullOrWhiteSpace(e.View.AutomationId)) | |
{ | |
e.NativeView.ContentDescription = e.View.AutomationId; | |
} | |
}; | |
LoadApplication(new App()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment