summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/ViewRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android/ViewRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/ViewRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/ViewRenderer.cs b/Xamarin.Forms.Platform.Android/ViewRenderer.cs
index ee5913b1..842fc5c2 100644
--- a/Xamarin.Forms.Platform.Android/ViewRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/ViewRenderer.cs
@@ -32,7 +32,7 @@ namespace Xamarin.Forms.Platform.Android
public TNativeView Control { get; private set; }
- void IOnFocusChangeListener.OnFocusChange(AView v, bool hasFocus)
+ void AView.IOnFocusChangeListener.OnFocusChange(AView v, bool hasFocus)
{
if (Element is Entry || Element is SearchBar || Element is Editor)
{
@@ -146,7 +146,7 @@ namespace Xamarin.Forms.Platform.Android
protected override void OnRegisterEffect(PlatformEffect effect)
{
base.OnRegisterEffect(effect);
- effect.Control = Control;
+ effect.SetControl(Control);
}
protected override void SetAutomationId(string id)