From 97338158e3088e31d4f0283549dbe0955115245a Mon Sep 17 00:00:00 2001
From: Pawel Andruszkiewicz
Date: Thu, 23 Mar 2017 08:23:03 +0100
Subject: [PATCH] Destroy the drawer along with the MasterDetailPage
Change-Id: I87f3b8bdb5baed77bef7947fc73469ad215f47a5
Signed-off-by: Pawel Andruszkiewicz
---
Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs b/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs
index 1a10b70..e7e1f24 100755
--- a/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs
@@ -254,6 +254,16 @@ namespace Xamarin.Forms.Platform.Tizen.Native
}
///
+ /// Provides destruction for native element and contained elements.
+ ///
+ protected override void OnUnrealize()
+ {
+ _drawer.Unrealize();
+
+ base.OnUnrealize();
+ }
+
+ ///
/// Updates the geometry of the selected page.
///
/// Master or Detail page to be updated.
--
2.7.4