Skip to content

Commit

Permalink
Playground.Forms.Droid SplashScreen: Use RunAppStart method
Browse files Browse the repository at this point in the history
  • Loading branch information
nmilcoff committed Mar 31, 2018
1 parent c83eb05 commit 487dead
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Projects/Playground/Playground.Forms.Droid/SplashScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

using Android.App;
using Android.Content.PM;
using Android.OS;
using MvvmCross.Core;
using MvvmCross.Platforms.Android.Views;

Expand All @@ -25,10 +26,10 @@ public SplashScreen()
this.RegisterSetupType<Setup>();
}

protected override void TriggerFirstNavigate()
protected override void RunAppStart(Bundle bundle)
{
StartActivity(typeof(MainActivity));
base.TriggerFirstNavigate();
base.RunAppStart(bundle);
}
}
}

0 comments on commit 487dead

Please sign in to comment.