Skip to content

Commit 911d706

Browse files
committed
simipler android impl
1 parent 31d3332 commit 911d706

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Scr/Platform/CustomContentViewGroup.Android.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Android.Content;
2-
using Android.Runtime;
32
using Android.Views;
43
using Java.Lang;
54
using Microsoft.Maui.Platform;
@@ -61,15 +60,4 @@ public CustomContentViewGroup(Context context, IBorderView virtualView) : base(c
6160
}
6261

6362
public override ICharSequence? AccessibilityClassNameFormatted => new String("android.widget.Button");
64-
65-
public override bool OnKeyUp([GeneratedEnum] Keycode keyCode, KeyEvent? e)
66-
{
67-
if (keyCode == Keycode.Space || keyCode == Keycode.Enter)
68-
{
69-
_stateButton.InvokeClicked();
70-
return true;
71-
}
72-
73-
return base.OnKeyUp(keyCode, e);
74-
}
7563
}

0 commit comments

Comments
 (0)