Created
May 11, 2018 19:11
-
-
Save Osmosis311/776a5b4ad083d2fc0570afca3d2e6dd7 to your computer and use it in GitHub Desktop.
MainActivity
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
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity | |
{ | |
protected override void OnCreate(Bundle bundle) | |
{ | |
TabLayoutResource = Resource.Layout.Tabbar; | |
ToolbarResource = Resource.Layout.Toolbar; | |
base.OnCreate(bundle); | |
global::Xamarin.Forms.Forms.Init(this, bundle); | |
CrossCurrentActivity.Current.Init(this, bundle); | |
CrossCurrentActivity.Current.Activity = this; | |
LoadApplication(new App(new MemberApp.Droid.AndroidPlatformInitializer())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment