Skip to content

Instantly share code, notes, and snippets.

@sthewissen
Created January 17, 2022 13:26
Show Gist options
  • Save sthewissen/ea0759f7708f92e8f04821b5be733d3e to your computer and use it in GitHub Desktop.
Save sthewissen/ea0759f7708f92e8f04821b5be733d3e to your computer and use it in GitHub Desktop.
var builder = MauiApp.CreateBuilder(); builder.UseMauiApp<App>()
#if __ANDROID__
.ConfigureMauiHandlers(handlers =>
{
handlers.AddCompatibilityRenderer(typeof(Microsoft.Maui.Controls.BoxView), typeof(MyBoxRenderer));
#endif
});
return builder;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment