#pragma warning restore 0649 public void OnClick(global::Android.Content.IDialogInterface p0, int p1, global::Java.Lang.Integer[] p2) { var __h = Handler; if (__h != null) { __h(sender, new ColorPickerClickEventArgs(p0, p1, p2)); } }
static void n_OnClick_Landroid_content_DialogInterface_IarrayLjava_lang_Integer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2) { global::Com.Flask.Colorpicker.Builder.IColorPickerClickListener __this = global::Java.Lang.Object.GetObject <global::Com.Flask.Colorpicker.Builder.IColorPickerClickListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.IDialogInterface p0 = (global::Android.Content.IDialogInterface)global::Java.Lang.Object.GetObject <global::Android.Content.IDialogInterface> (native_p0, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Integer[] p2 = (global::Java.Lang.Integer[])JNIEnv.GetArray(native_p2, JniHandleOwnership.DoNotTransfer, typeof(global::Java.Lang.Integer)); __this.OnClick(p0, p1, p2); if (p2 != null) { JNIEnv.CopyArray(p2, native_p2); } }
public virtual unsafe void OnClick(global::Android.Content.IDialogInterface dialog, int which) { const string __id = "onClick.(Landroid/content/DialogInterface;I)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((dialog == null) ? IntPtr.Zero : ((global::Java.Lang.Object)dialog).Handle); __args [1] = new JniArgumentValue(which); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public static unsafe void HandleOnClick(global::Android.Content.IDialogInterface dialog, int which, global::Android.App.Activity activity, global::Android.OS.Bundle arguments) { const string __id = "handleOnClick.(Landroid/content/DialogInterface;ILandroid/app/Activity;Landroid/os/Bundle;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [4]; __args [0] = new JniArgumentValue((dialog == null) ? IntPtr.Zero : ((global::Java.Lang.Object)dialog).Handle); __args [1] = new JniArgumentValue(which); __args [2] = new JniArgumentValue((activity == null) ? IntPtr.Zero : ((global::Java.Lang.Object)activity).Handle); __args [3] = new JniArgumentValue((arguments == null) ? IntPtr.Zero : ((global::Java.Lang.Object)arguments).Handle); _members.StaticMethods.InvokeVoidMethod(__id, __args); } finally { } }
public unsafe void OnClick(global::Android.Content.IDialogInterface p0, int p1, global::Java.Lang.Integer[] p2) { if (id_onClick_Landroid_content_DialogInterface_IarrayLjava_lang_Integer_ == IntPtr.Zero) { id_onClick_Landroid_content_DialogInterface_IarrayLjava_lang_Integer_ = JNIEnv.GetMethodID(class_ref, "onClick", "(Landroid/content/DialogInterface;I[Ljava/lang/Integer;)V"); } IntPtr native_p2 = JNIEnv.NewArray(p2); JValue *__args = stackalloc JValue [3]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onClick_Landroid_content_DialogInterface_IarrayLjava_lang_Integer_, __args); if (p2 != null) { JNIEnv.CopyArray(native_p2, p2); JNIEnv.DeleteLocalRef(native_p2); } }
public virtual unsafe void OnClick(global::Android.Content.IDialogInterface p0, int p1) { if (id_onClick_Landroid_content_DialogInterface_I == IntPtr.Zero) { id_onClick_Landroid_content_DialogInterface_I = JNIEnv.GetMethodID(class_ref, "onClick", "(Landroid/content/DialogInterface;I)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onClick_Landroid_content_DialogInterface_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onClick", "(Landroid/content/DialogInterface;I)V"), __args); } } finally { } }
static void n_OnClick_Landroid_content_DialogInterface_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1) { global::Com.Applozic.Mobicomkit.Uiwidgets.Schedule.SelectTimeFragment __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Uiwidgets.Schedule.SelectTimeFragment> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.IDialogInterface p0 = (global::Android.Content.IDialogInterface)global::Java.Lang.Object.GetObject <global::Android.Content.IDialogInterface> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnClick(p0, p1); }
static void n_OnClick_Landroid_content_DialogInterface_I(IntPtr jnienv, IntPtr native__this, IntPtr native_dialog, int which) { global::Com.Mapbox.Mapboxsdk.Maps.AttributionDialogManager __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Maps.AttributionDialogManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.IDialogInterface dialog = (global::Android.Content.IDialogInterface)global::Java.Lang.Object.GetObject <global::Android.Content.IDialogInterface> (native_dialog, JniHandleOwnership.DoNotTransfer); __this.OnClick(dialog, which); }
public ColorPickerClickEventArgs(global::Android.Content.IDialogInterface p0, int p1, global::Java.Lang.Integer[] p2) { this.p0 = p0; this.p1 = p1; this.p2 = p2; }