summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-04-07 09:19:01 +0900
committerSeungkeun Lee <sngn.lee@samsung.com>2017-04-07 09:19:01 +0900
commite5783bd3814c5771de48d40dd537858ab3dbdb77 (patch)
treed0ccc8a3f822ccd40b830c755c55c62ce3dee8d7
parentcd867c1601790ca9599ca048e37b5f644a1b26bc (diff)
downloadxamarin-forms-e5783bd3814c5771de48d40dd537858ab3dbdb77.tar.gz
xamarin-forms-e5783bd3814c5771de48d40dd537858ab3dbdb77.tar.bz2
xamarin-forms-e5783bd3814c5771de48d40dd537858ab3dbdb77.zip
Disable Layout on Resize callback
- LayoutCallback already called when resized - Resize callback is called immediately invoked when size was changed and it cause redundancy layouting - LayoutCallback is invoked only one times in renderer loop if necessary. - if another side effect occur with this changes, need to analysis that problem reason again. Change-Id: Id28f5968a2e4997f817579b9909fb01b4c962191
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Box.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Box.cs b/Xamarin.Forms.Platform.Tizen/Native/Box.cs
index f22d27b5..9bd7bad9 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Box.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Box.cs
@@ -24,7 +24,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native
/// <param name="parent">The parent EvasObject.</param>
public Box(EvasObject parent) : base(parent)
{
- Resized += (sender, e) => { NotifyOnLayout(); };
SetLayoutCallback(() => { NotifyOnLayout(); });
}