diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-04-07 09:19:01 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-10-23 13:34:32 +0900 |
commit | ae845f27c87cd3494bee5cd3b90967912f628c0c (patch) | |
tree | b7c8ad322c6c47c125767ba2d4c2b4674a97498a /Xamarin.Forms.Platform.Tizen/Native | |
parent | 80093625cfbd2979d5d914780860642d95037e57 (diff) | |
download | xamarin-forms-ae845f27c87cd3494bee5cd3b90967912f628c0c.tar.gz xamarin-forms-ae845f27c87cd3494bee5cd3b90967912f628c0c.tar.bz2 xamarin-forms-ae845f27c87cd3494bee5cd3b90967912f628c0c.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
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Box.cs | 1 |
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(); }); } |