Skip to content

Commit

Permalink
Fix wrong method parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
amay077 committed May 19, 2017
1 parent 10f494d commit 9e7c46d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maps/source/Additions/Additions.cs
Original file line number Diff line number Diff line change
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 9e7c46d

Please sign in to comment.