|
|
@@ -78,7 +78,8 @@ namespace Avalonia.Android.Platform.SkiaPlatform
|
|
|
|
|
|
_systemNavigationManager = new AndroidSystemNavigationManagerImpl(avaloniaView.Context as IActivityNavigationService);
|
|
|
|
|
|
- Surfaces = new object[] { _gl, _framebuffer, Handle };
|
|
|
+ Surfaces = new object[] { _gl, _framebuffer, _view };
|
|
|
+ Handle = new AndroidViewControlHandle(_view);
|
|
|
}
|
|
|
|
|
|
public IInputRoot? InputRoot { get; private set; }
|
|
|
@@ -102,7 +103,7 @@ namespace Avalonia.Android.Platform.SkiaPlatform
|
|
|
internal InvalidationAwareSurfaceView InternalView => _view;
|
|
|
|
|
|
public double DesktopScaling => RenderScaling;
|
|
|
- public IPlatformHandle Handle => _view;
|
|
|
+ public IPlatformHandle Handle { get; }
|
|
|
|
|
|
public IEnumerable<object> Surfaces { get; }
|
|
|
|