Skip to content

Commit

Permalink
Update MainActivity.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Jan 19, 2016
1 parent d8842b2 commit 45c6237
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions MyWeather.Droid/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ public class MainActivity : FormsAppCompatActivity

protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);

ToolbarResource = Resource.Layout.toolbar;
TabLayoutResource = Resource.Layout.tabs;
base.OnCreate (bundle);

Forms.Init(this, bundle);
Xamarin.Insights.Initialize(Xamarin.Insights.DebugModeKey, this);

ToolbarResource = Resource.Layout.toolbar;
TabLayoutResource = Resource.Layout.tabs;
LoadApplication(new App());
Forms.Init(this, bundle);
Xamarin.Insights.Initialize(Xamarin.Insights.DebugModeKey, this);

LoadApplication(new App());
}
}
}
Expand Down

0 comments on commit 45c6237

Please sign in to comment.