summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-03-23 07:23:03 (GMT)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>2017-03-24 09:02:21 (GMT)
commit43f9f6a63ec140ab7c706528968f6801c496a402 (patch)
treef47c099a27d85da76978cfbc0fa438e6afc9f05c
parent2c695331c9d4f6aade8fb468f6f8c152bf21ba23 (diff)
downloadxamarin-forms-43f9f6a63ec140ab7c706528968f6801c496a402.zip
xamarin-forms-43f9f6a63ec140ab7c706528968f6801c496a402.tar.gz
xamarin-forms-43f9f6a63ec140ab7c706528968f6801c496a402.tar.bz2
Destroy the drawer along with the MasterDetailPagerefs/changes/38/120538/2
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 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
}
/// <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>