diff options
-rw-r--r--[-rwxr-xr-x] | Xamarin.Forms.Platform.Tizen/FormsApplication.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs index 806f6a81..57efa3f6 100755..100644 --- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs +++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs @@ -41,9 +41,9 @@ namespace Xamarin.Forms.Platform.Tizen } } - protected override void OnCreate() + protected override void OnPreCreate() { - base.OnCreate(); + base.OnPreCreate(); Application.ClearCurrent(); CreateWindow(); } @@ -93,7 +93,7 @@ namespace Xamarin.Forms.Platform.Tizen { if (null == MainWindow) { - throw new NullReferenceException("Call base OnCreate() method before loading the application."); + throw new NullReferenceException("MainWindow is not prepared. This method should be called in OnCreated()."); } if (null == application) { |