From 408b662c24601bba6591aa931d900c268026caae Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Wed, 1 Feb 2017 14:29:19 -0700 Subject: [PATCH] Add missing virtual keywords --- Xamarin.Forms.Platform.Android/Cells/EntryCellRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Xamarin.Forms.Platform.Android/Cells/EntryCellRenderer.cs b/Xamarin.Forms.Platform.Android/Cells/EntryCellRenderer.cs index bfe8777..dc65853 100644 --- a/Xamarin.Forms.Platform.Android/Cells/EntryCellRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Cells/EntryCellRenderer.cs @@ -58,7 +58,7 @@ namespace Xamarin.Forms.Platform.Android UpdateHeight(); } - protected NumberKeyListener GetDigitsKeyListener(InputTypes inputTypes) + protected virtual NumberKeyListener GetDigitsKeyListener(InputTypes inputTypes) { // Override this in a custom renderer to use a different NumberKeyListener // or to filter out input types you don't want to allow diff --git a/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs index dba55ea..77c7145 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/EditorRenderer.cs @@ -87,7 +87,7 @@ namespace Xamarin.Forms.Platform.Android base.OnElementPropertyChanged(sender, e); } - protected NumberKeyListener GetDigitsKeyListener(InputTypes inputTypes) + protected virtual NumberKeyListener GetDigitsKeyListener(InputTypes inputTypes) { // Override this in a custom renderer to use a different NumberKeyListener // or to filter out input types you don't want to allow -- 2.7.4