Just looking at this and I think that this is all Java code so we probably should just do it in Java and let the bonding do the magic. Doing it in C# is probably going have a big perf impact. _Originally posted by @mattleibow in https://github.com/dotnet/maui/pull/25223#discussion_r2005371845_