Replies: 1 comment
-
I looked up the var app = MauiApp.CreateBuilder().UseMauiApp<Microsoft.Maui.Controls.Application>().Build();
var context = new MauiContext(app.Services, this.ApplicationContext ?? this.BaseContext!);
var aView = mauiView.ToPlatform(context); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to develop an Input Method App and need to provide an
InputMethodService
. to override a method to return anAndroid.Views.View
, I checked the documentation(native-embedding) and found that I need to create a new project to embed a View.android doc creating-input-method
I don't want to create a project specifically for a View. Looking at the key code in the documentation, it should be necessary to create a MauiContext, here is my attempted code:
UseMauiEmbedding
?WhereApp
?Some development experience would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions