summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-03-23 08:23:03 +0100
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-03-24 10:02:21 +0100
commit43f9f6a63ec140ab7c706528968f6801c496a402 (patch)
treef47c099a27d85da76978cfbc0fa438e6afc9f05c
parent2c695331c9d4f6aade8fb468f6f8c152bf21ba23 (diff)
downloadxamarin-forms-43f9f6a63ec140ab7c706528968f6801c496a402.tar.gz
xamarin-forms-43f9f6a63ec140ab7c706528968f6801c496a402.tar.bz2
xamarin-forms-43f9f6a63ec140ab7c706528968f6801c496a402.zip
Destroy the drawer along with the MasterDetailPage
Change-Id: I87f3b8bdb5baed77bef7947fc73469ad215f47a5 Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
-rwxr-xr-xXamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs b/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs
index 1a10b702..e7e1f243 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
}
/// <summary>
+ /// Provides destruction for native element and contained elements.
+ /// </summary>
+ protected override void OnUnrealize()
+ {
+ _drawer.Unrealize();
+
+ base.OnUnrealize();
+ }
+
+ /// <summary>
/// Updates the geometry of the selected page.
/// </summary>
/// <param name="page">Master or Detail page to be updated.</param>