diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-09-11 09:43:35 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-10-23 13:34:41 +0900 |
commit | f3a4581eabe2c379e767c3d34b2d61727e99f001 (patch) | |
tree | 8c554b08aad4f75c74647e3ad20406b99412eec8 | |
parent | 0880875319266e1b579bf29dfdb9d6e2633f1cea (diff) | |
download | xamarin-forms-f3a4581eabe2c379e767c3d34b2d61727e99f001.tar.gz xamarin-forms-f3a4581eabe2c379e767c3d34b2d61727e99f001.tar.bz2 xamarin-forms-f3a4581eabe2c379e767c3d34b2d61727e99f001.zip |
Fix BeginInovkeOnMainThread
- Always post to main loop message queue
- It is same behavior with others platform
- Layout use BeginInvokeOnMainThread and it should execute later than others
Change-Id: I13af1dcdcfc1a6dc134816added4922b9f2e74cd
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs index 449b0938..5e6c71cf 100644 --- a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs +++ b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs @@ -95,14 +95,7 @@ namespace Xamarin.Forms.Platform.Tizen public void BeginInvokeOnMainThread(Action action) { - if (EcoreMainloop.IsMainThread) - { - action(); - } - else - { - s_context.Post((o) => action(), null); - } + s_context.Post((o) => action(), null); } public Ticker CreateTicker() |