diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-04-07 09:19:01 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-24 13:39:48 +0900 |
commit | e996acdb9e246d68391322a572eb031f49dd8f02 (patch) | |
tree | 117e9aef2855f214559e9800a7302b303954211c | |
parent | ee7e384e6d6e84c25694b36104b8e9a79da69fa7 (diff) | |
download | xamarin-forms-e996acdb9e246d68391322a572eb031f49dd8f02.tar.gz xamarin-forms-e996acdb9e246d68391322a572eb031f49dd8f02.tar.bz2 xamarin-forms-e996acdb9e246d68391322a572eb031f49dd8f02.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.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(); }); } |