summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-03-06 06:56:34 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-03-06 06:56:34 (GMT)
commit1da4caf85e15c91cb2dd6fd19e1a4a4453f0baf2 (patch)
tree3746af5ff90d44924a5ba4ed0f13c509f56c8aca
parentbe2d2915c3ac6884b0133c4039213530daedbbc5 (diff)
parent7936cb6f4564c5f543ad059d530c7b2fbaecb314 (diff)
downloadxamarin-forms-1da4caf85e15c91cb2dd6fd19e1a4a4453f0baf2.zip
xamarin-forms-1da4caf85e15c91cb2dd6fd19e1a4a4453f0baf2.tar.gz
xamarin-forms-1da4caf85e15c91cb2dd6fd19e1a4a4453f0baf2.tar.bz2
Merge "Create Window in OnPreCreate() instead of OnCreate()" into tizen
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/FormsApplication.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
index 806f6a8..57efa3f 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)
{