summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-15 20:25:40 -0800
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-01-15 20:25:40 -0800
commitac1e5f9b76e1c1a5ade83d2d149bf5da5e1a899f (patch)
tree4cd058a45d09a0f28fa8d7b9100ef8e09b704e6c
parent09a6758c03df6dc3e49c18e21d12058e0bd6be36 (diff)
parent5db2b48eaee64f7d82e96d73766d796d2548141c (diff)
downloadxamarin-forms-ac1e5f9b76e1c1a5ade83d2d149bf5da5e1a899f.tar.gz
xamarin-forms-ac1e5f9b76e1c1a5ade83d2d149bf5da5e1a899f.tar.bz2
xamarin-forms-ac1e5f9b76e1c1a5ade83d2d149bf5da5e1a899f.zip
Merge "Fixed Appearing event calling sequence issue" into tizensubmit/tizen/20170117.035708
-rw-r--r--Xamarin.Forms.Platform.Tizen/Platform.cs6
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs6
2 files changed, 10 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Platform.cs b/Xamarin.Forms.Platform.Tizen/Platform.cs
index c7a89b06..69a435e3 100644
--- a/Xamarin.Forms.Platform.Tizen/Platform.cs
+++ b/Xamarin.Forms.Platform.Tizen/Platform.cs
@@ -137,7 +137,11 @@ namespace Xamarin.Forms.Platform.Tizen
naviItem.TitleBarVisible = false;
((Application)Page.RealParent).NavigationProxy.Inner = this;
- CurrentPageController?.SendAppearing();
+ Device.StartTimer(TimeSpan.Zero, () =>
+ {
+ CurrentPageController?.SendAppearing();
+ return false;
+ });
}
public SizeRequest GetNativeSize(VisualElement view, double widthConstraint, double heightConstraint)
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
index c8f8606a..361f0912 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
@@ -102,7 +102,11 @@ namespace Xamarin.Forms.Platform.Tizen
{
(_previousPage as IPageController)?.SendDisappearing();
_previousPage = Element.CurrentPage;
- (_previousPage as IPageController)?.SendAppearing();
+ Device.StartTimer(TimeSpan.Zero, () =>
+ {
+ (_previousPage as IPageController)?.SendAppearing();
+ return false;
+ });
}
else if (e.PropertyName == NavigationPage.BarTextColorProperty.PropertyName)
UpdateTitle(CurrentPage);