Example #1
0
 static void n_OnClick(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.IOnActionClickListener __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.IOnActionClickListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnClick();
 }
Example #2
0
        public override unsafe global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.IOnActionClickListener GetOnClickListener(global::Android.Content.Context p0, string p1)
        {
            if (id_getOnClickListener_Landroid_content_Context_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_getOnClickListener_Landroid_content_Context_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "getOnClickListener", "(Landroid/content/Context;Ljava/lang/String;)Lcom/liveperson/messaging/structuredcontent/model/actions/OnActionClickListener;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.IOnActionClickListener __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.IOnActionClickListener> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getOnClickListener_Landroid_content_Context_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }