Exemplo n.º 1
0
        public unsafe PullToRequestAdatper(global::Com.Mob.Tools.Gui.PullToRequestView view)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcom/mob/tools/gui/PullToRequestView;)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((view == null) ? IntPtr.Zero : ((global::Java.Lang.Object)view).Handle);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
            }
        }
 static void n_StopPulling(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mob.Tools.Gui.PullToRequestView __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.PullToRequestView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.StopPulling();
 }
 static void n_PerformPullingUp_Z(IntPtr jnienv, IntPtr native__this, bool request)
 {
     global::Com.Mob.Tools.Gui.PullToRequestView __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.PullToRequestView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.PerformPullingUp(request);
 }
 static void n_SetAdapter_Lcom_mob_tools_gui_PullToRequestAdatper_(IntPtr jnienv, IntPtr native__this, IntPtr native_adapter)
 {
     global::Com.Mob.Tools.Gui.PullToRequestView    __this  = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.PullToRequestView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Mob.Tools.Gui.PullToRequestAdatper adapter = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.PullToRequestAdatper> (native_adapter, JniHandleOwnership.DoNotTransfer);
     __this.SetAdapter(adapter);
 }
Exemplo n.º 5
0
        public unsafe FriendAdapter(global::CN.Sharesdk.Onekeyshare.Themes.Classic.FriendListPage activity, global::Com.Mob.Tools.Gui.PullToRequestView view)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcn/sharesdk/onekeyshare/themes/classic/FriendListPage;Lcom/mob/tools/gui/PullToRequestView;)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try
            {
                JniArgumentValue *__args = stackalloc JniArgumentValue[2];
                __args[0] = new JniArgumentValue((activity == null) ? IntPtr.Zero : ((global::Java.Lang.Object)activity).Handle);
                __args[1] = new JniArgumentValue((view == null) ? IntPtr.Zero : ((global::Java.Lang.Object)view).Handle);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            }
            finally
            {
            }
        }