public unsafe void Activate(global::Com.Amap.Api.Maps2d.ILocationSourceOnLocationChangedListener p0)
        {
            if (id_activate_Lcom_amap_api_maps2d_LocationSource_OnLocationChangedListener_ == IntPtr.Zero)
            {
                id_activate_Lcom_amap_api_maps2d_LocationSource_OnLocationChangedListener_ = JNIEnv.GetMethodID(class_ref, "activate", "(Lcom/amap/api/maps2d/LocationSource$OnLocationChangedListener;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_activate_Lcom_amap_api_maps2d_LocationSource_OnLocationChangedListener_, __args);
        }
 static void n_OnLocationChanged_Landroid_location_Location_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amap.Api.Maps2d.ILocationSourceOnLocationChangedListener __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.ILocationSourceOnLocationChangedListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Locations.Location p0 = global::Java.Lang.Object.GetObject <global::Android.Locations.Location> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnLocationChanged(p0);
 }
 static void n_Activate_Lcom_amap_api_maps2d_LocationSource_OnLocationChangedListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amap.Api.Maps2d.ILocationSource __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.ILocationSource> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Amap.Api.Maps2d.ILocationSourceOnLocationChangedListener p0 = (global::Com.Amap.Api.Maps2d.ILocationSourceOnLocationChangedListener)global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.ILocationSourceOnLocationChangedListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Activate(p0);
 }