summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-04-25 08:42:14 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-04-25 08:42:14 +0000
commitdf3dbe717622df2041b67d2aa243680f749328ad (patch)
treed155e8017f96647234ef2085a74b80240a7e682a
parentcc51b23ae850392e321167e4efde0ece1940e354 (diff)
parentdc08948695591e0c60668fe8eebc4db13a14c7c1 (diff)
downloadxamarin-forms-df3dbe717622df2041b67d2aa243680f749328ad.tar.gz
xamarin-forms-df3dbe717622df2041b67d2aa243680f749328ad.tar.bz2
xamarin-forms-df3dbe717622df2041b67d2aa243680f749328ad.zip
Merge "Fix InsertPageBefore in NavigationPageRenderer" into tizen
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
index a0cca4ed..bc1a2cb7 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
@@ -449,14 +449,9 @@ namespace Xamarin.Forms.Platform.Tizen
if (nre.Page == null)
throw new ArgumentNullException("page");
- Device.StartTimer(TimeSpan.FromMilliseconds(0), () =>
- {
- EvasObject page = Platform.GetOrCreateRenderer(nre.Page).NativeView;
- _naviFrame.InsertBefore(GetNaviItemForPage(nre.BeforePage), page, SpanTitle(nre.Page.Title));
-
- UpdateHasNavigationBar(nre.Page);
- return false;
- });
+ EvasObject page = Platform.GetOrCreateRenderer(nre.Page).NativeView;
+ _naviFrame.InsertBefore(GetNaviItemForPage(nre.BeforePage), page, SpanTitle(nre.Page.Title));
+ UpdateHasNavigationBar(nre.Page);
}
void AnimationFinishedHandler(object sender, EventArgs e)