summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-04-25 16:39:16 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 11:11:24 +0900
commitc67eef3c4fd6a33d5fceef337f2b5484b6204a5a (patch)
tree4186889d3a23c051cf6e3bd2067cda9d84938c06 /Xamarin.Forms.Platform.Tizen/Renderers
parent2ba80f571a23077142b14b703bdc3378b879df02 (diff)
downloadxamarin-forms-c67eef3c4fd6a33d5fceef337f2b5484b6204a5a.tar.gz
xamarin-forms-c67eef3c4fd6a33d5fceef337f2b5484b6204a5a.tar.bz2
xamarin-forms-c67eef3c4fd6a33d5fceef337f2b5484b6204a5a.zip
Fix InsertPageBefore in NavigationPageRenderer
- Optimize InsertPageBeforeRequestedHandler - Remove StartTimer on InsertPageBefore It is required to fix layout issue Now it does not need Change-Id: I8f384eea02d811c42f581b8efa2505c94fc08340
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-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)