diff --git a/Xamarin.Forms.Platform.Tizen/Platform.cs b/Xamarin.Forms.Platform.Tizen/Platform.cs index 40538ca0d..34a76936b 100644 --- a/Xamarin.Forms.Platform.Tizen/Platform.cs +++ b/Xamarin.Forms.Platform.Tizen/Platform.cs @@ -89,6 +89,8 @@ namespace Xamarin.Forms.Platform.Tizen int _pageBusyCount; Naviframe _internalNaviframe; + HashSet _alerts = new HashSet(); + public event EventHandler RootNativeViewChanged; internal DefaultPlatform(EvasObject parent) @@ -464,6 +466,8 @@ namespace Xamarin.Forms.Platform.Tizen }; alert.Show(); + _alerts.Add(alert); + alert.Dismissed += (s, e) => _alerts.Remove(alert); } void ActionSheetSignalNameHandler(Page sender, ActionSheetArguments arguments) @@ -529,6 +533,9 @@ namespace Xamarin.Forms.Platform.Tizen }; alert.Show(); + + _alerts.Add(alert); + alert.Dismissed += (s, e) => _alerts.Remove(alert); } bool PageIsChildOfPlatform(Page page)