Convert Java.Util.HashMap to System.Collections.IDictionary
Posted
by
Paul
on Stack Overflow
See other posts from Stack Overflow
or by Paul
Published on 2014-06-01T21:21:27Z
Indexed on
2014/06/01
21:25 UTC
Read the original article
Hit count: 188
In Xamarin I've got a .jar I've imported using a Java Binding Library. One of the callbacks has a Java.Lang.Object
parameter which gives me Java.Util.HashMap
and Java.Util.ArrayList
at runtime. I'm abstracting this SDK behind a cross-platform interface, so I need to convert this to a .NET type. It there anything like the ArrayAdapter
except in reverse that can convert the Java types to their .NET equivalents?
© Stack Overflow or respective owner