Skip to content

Commit

Permalink
Merge pull request #63 from amay077/patch-2
Browse files Browse the repository at this point in the history
[maps]Fix wrong Polygon.SetHoles parameter type
  • Loading branch information
Redth committed Dec 5, 2017
2 parents 10f494d + 9e7c46d commit 1288c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maps/source/Additions/Additions.cs
Expand Up @@ -9,11 +9,11 @@ public partial class Polygon
static IntPtr id_setHoles_Ljava_util_List_;
// Metadata.xml XPath method reference: path="/api/package[@name='com.google.android.gms.maps.model']/class[@name='Polygon']/method[@name='setHoles' and count(parameter)=1 and parameter[1][@type='java.util.List<>']]"
[Register ("setHoles", "(Ljava/util/List;)V", "")]
public unsafe void SetHoles (global::System.Collections.Generic.IList<LatLng> holes)
public unsafe void SetHoles (global::System.Collections.Generic.IList<global::System.Collections.Generic.IList<LatLng>> holes)
{
if (id_setHoles_Ljava_util_List_ == IntPtr.Zero)
id_setHoles_Ljava_util_List_ = JNIEnv.GetMethodID (class_ref, "setHoles", "(Ljava/util/List;)V");
IntPtr native_holes = global::Android.Runtime.JavaList<LatLng>.ToLocalJniHandle (holes);
IntPtr native_holes = global::Android.Runtime.JavaList<global::System.Collections.Generic.IList<LatLng>>.ToLocalJniHandle (holes);
try {
JValue* __args = stackalloc JValue [1];
__args [0] = new JValue (native_holes);
Expand Down

0 comments on commit 1288c79

Please sign in to comment.