summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native
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-07-10 11:11:21 +0900
commitea8fe5bf774376fdc9c5d86f37f168e2de1870a5 (patch)
treedee79b7e719d8c2328fd5774e1e938e33498430f /Xamarin.Forms.Platform.Tizen/Native
parentf4522a13dd914d33dcc4873f4f6818613bebb011 (diff)
downloadxamarin-forms-ea8fe5bf774376fdc9c5d86f37f168e2de1870a5.tar.gz
xamarin-forms-ea8fe5bf774376fdc9c5d86f37f168e2de1870a5.tar.bz2
xamarin-forms-ea8fe5bf774376fdc9c5d86f37f168e2de1870a5.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')
-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>