summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2017-08-23 16:06:45 -0600
committerRui Marinho <me@ruimarinho.net>2017-08-29 12:53:02 +0100
commiteb51624f30d979ada766b2196ac977b97510e7c1 (patch)
treef3bfcf58211a443ace0ae8c97b91e77d2fb60a51 /Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs
parent8510bfb3a32fd82146747aa301b2f1ca7a249675 (diff)
downloadxamarin-forms-eb51624f30d979ada766b2196ac977b97510e7c1.tar.gz
xamarin-forms-eb51624f30d979ada766b2196ac977b97510e7c1.tar.bz2
xamarin-forms-eb51624f30d979ada766b2196ac977b97510e7c1.zip
[Android] Restore and obsolete EditorEditText and EntryEditText controls (#1114)
* Restore and obsolete EditorEditText and EntryEditText controls * Don't need to use the obsolete classes in the renderers * Update obsolete messages
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs b/Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs
index 92c3600b..8b0342f8 100644
--- a/Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs
+++ b/Xamarin.Forms.Platform.Android/Renderers/FormsEditText.cs
@@ -41,4 +41,20 @@ namespace Xamarin.Forms.Platform.Android
internal event EventHandler OnKeyboardBackPressed;
}
+
+ [Obsolete("EntryEditText is obsolete as of version 2.4.0. Please use Xamarin.Forms.Platform.Android.FormsEditText instead.")]
+ public class EntryEditText : FormsEditText
+ {
+ internal EntryEditText(Context context) : base(context)
+ {
+ }
+ }
+
+ [Obsolete("EditorEditText is obsolete as of version 2.4.0. Please use Xamarin.Forms.Platform.Android.FormsEditText instead.")]
+ public class EditorEditText : FormsEditText
+ {
+ internal EditorEditText(Context context) : base(context)
+ {
+ }
+ }
} \ No newline at end of file