diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-04-24 00:13:27 -0600 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-04-24 02:13:27 -0400 |
commit | 462d132f6f5f42871716cdbd455fba70e711541c (patch) | |
tree | c838afa67871ad12722e2c11328d444f66cb843f /Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs | |
parent | 3b589b7f2a02c7b2d70f78abb6b476c8cc9bf950 (diff) | |
download | xamarin-forms-462d132f6f5f42871716cdbd455fba70e711541c.tar.gz xamarin-forms-462d132f6f5f42871716cdbd455fba70e711541c.tar.bz2 xamarin-forms-462d132f6f5f42871716cdbd455fba70e711541c.zip |
Allow renderers to specify whether native controls should be eagerly disposed (#129)
Diffstat (limited to 'Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs b/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs index 933f436f..49abc02a 100644 --- a/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs +++ b/Xamarin.Forms.Platform.Android/NativeViewWrapperRenderer.cs @@ -57,5 +57,7 @@ namespace Xamarin.Forms.Platform.Android if (!handled) base.OnMeasure(widthMeasureSpec, heightMeasureSpec); } + + protected override bool ManageNativeControlLifetime => false; } }
\ No newline at end of file |