static void n_Onclick_Lcom_umeng_socialize_shareboard_SnsPlatform_Lcom_umeng_socialize_bean_SHARE_MEDIA_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Umeng.Socialize.Utils.IShareBoardlistener __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Utils.IShareBoardlistener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Umeng.Socialize.Shareboard.SnsPlatform p0 = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Shareboard.SnsPlatform> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Umeng.Socialize.Bean.SHARE_MEDIA p1 = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Bean.SHARE_MEDIA> (native_p1, JniHandleOwnership.DoNotTransfer); __this.Onclick(p0, p1); }
public virtual unsafe void SetShareBoardlistener(global::Com.Umeng.Socialize.Utils.IShareBoardlistener p0) { if (id_setShareBoardlistener_Lcom_umeng_socialize_utils_ShareBoardlistener_ == IntPtr.Zero) { id_setShareBoardlistener_Lcom_umeng_socialize_utils_ShareBoardlistener_ = JNIEnv.GetMethodID(class_ref, "setShareBoardlistener", "(Lcom/umeng/socialize/utils/ShareBoardlistener;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setShareBoardlistener_Lcom_umeng_socialize_utils_ShareBoardlistener_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setShareBoardlistener", "(Lcom/umeng/socialize/utils/ShareBoardlistener;)V"), __args); } } finally { } }
static void n_SetShareBoardlistener_Lcom_umeng_socialize_utils_ShareBoardlistener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Umeng.Socialize.Shareboard.ShareBoard __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Shareboard.ShareBoard> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Umeng.Socialize.Utils.IShareBoardlistener p0 = (global::Com.Umeng.Socialize.Utils.IShareBoardlistener)global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Utils.IShareBoardlistener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetShareBoardlistener(p0); }