summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs
diff options
context:
space:
mode:
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-03-23 08:23:03 +0100
committerKangho Hur <kangho.hur@samsung.com>2017-04-24 13:39:46 +0900
commit97338158e3088e31d4f0283549dbe0955115245a (patch)
treedbb72060dce0f535b0486d29c4ff8b8db711264b /Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs
parentb84cc782d7db7a7e3b7fd4da4d33b697c8f54b4c (diff)
downloadxamarin-forms-97338158e3088e31d4f0283549dbe0955115245a.tar.gz
xamarin-forms-97338158e3088e31d4f0283549dbe0955115245a.tar.bz2
xamarin-forms-97338158e3088e31d4f0283549dbe0955115245a.zip
Destroy the drawer along with the MasterDetailPage
Change-Id: I87f3b8bdb5baed77bef7947fc73469ad215f47a5 Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/MasterDetailPage.cs')
-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>