示例#1
0
        static void n_OnActionModeStarted_Lcom_actionbarsherlock_view_ActionMode_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            SherlockFragmentActivity __this = Java.Lang.Object.GetObject <SherlockFragmentActivity> (native__this, JniHandleOwnership.DoNotTransfer);

            global::ActionBar_Sherlock.View.ActionMode p0 = Java.Lang.Object.GetObject <global::ActionBar_Sherlock.View.ActionMode> (native_p0, JniHandleOwnership.DoNotTransfer);
            __this.OnActionModeStarted(p0);
        }
示例#2
0
            static void n_OnDestroyActionMode_Lcom_actionbarsherlock_view_ActionMode_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
            {
                ICallback __this = Java.Lang.Object.GetObject <ICallback> (native__this, JniHandleOwnership.DoNotTransfer);

                global::ActionBar_Sherlock.View.ActionMode p0 = Java.Lang.Object.GetObject <global::ActionBar_Sherlock.View.ActionMode> (native_p0, JniHandleOwnership.DoNotTransfer);
                __this.OnDestroyActionMode(p0);
            }
示例#3
0
 public void OnDestroyActionMode(global::ActionBar_Sherlock.View.ActionMode p0)
 {
     if (id_onDestroyActionMode_Lcom_actionbarsherlock_view_ActionMode_ == IntPtr.Zero)
     {
         id_onDestroyActionMode_Lcom_actionbarsherlock_view_ActionMode_ = JNIEnv.GetMethodID(class_ref, "onDestroyActionMode", "(Lcom/actionbarsherlock/view/ActionMode;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_onDestroyActionMode_Lcom_actionbarsherlock_view_ActionMode_, new JValue(p0));
 }
示例#4
0
            public bool OnActionItemClicked(global::ActionBar_Sherlock.View.ActionMode p0, global::ActionBar_Sherlock.View.IMenuItem p1)
            {
                if (id_onActionItemClicked_Lcom_actionbarsherlock_view_ActionMode_Lcom_actionbarsherlock_view_MenuItem_ == IntPtr.Zero)
                {
                    id_onActionItemClicked_Lcom_actionbarsherlock_view_ActionMode_Lcom_actionbarsherlock_view_MenuItem_ = JNIEnv.GetMethodID(class_ref, "onActionItemClicked", "(Lcom/actionbarsherlock/view/ActionMode;Lcom/actionbarsherlock/view/MenuItem;)Z");
                }
                bool __ret = JNIEnv.CallBooleanMethod(Handle, id_onActionItemClicked_Lcom_actionbarsherlock_view_ActionMode_Lcom_actionbarsherlock_view_MenuItem_, new JValue(p0), new JValue(p1));

                return(__ret);
            }
示例#5
0
            static bool n_OnActionItemClicked_Lcom_actionbarsherlock_view_ActionMode_Lcom_actionbarsherlock_view_MenuItem_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
            {
                ICallback __this = Java.Lang.Object.GetObject <ICallback> (native__this, JniHandleOwnership.DoNotTransfer);

                global::ActionBar_Sherlock.View.ActionMode p0 = Java.Lang.Object.GetObject <global::ActionBar_Sherlock.View.ActionMode> (native_p0, JniHandleOwnership.DoNotTransfer);
                global::ActionBar_Sherlock.View.IMenuItem  p1 = Java.Lang.Object.GetObject <global::ActionBar_Sherlock.View.IMenuItem> (native_p1, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.OnActionItemClicked(p0, p1);

                return(__ret);
            }
示例#6
0
        public virtual void OnActionModeStarted(global::ActionBar_Sherlock.View.ActionMode p0)
        {
            if (id_onActionModeStarted_Lcom_actionbarsherlock_view_ActionMode_ == IntPtr.Zero)
            {
                id_onActionModeStarted_Lcom_actionbarsherlock_view_ActionMode_ = JNIEnv.GetMethodID(class_ref, "onActionModeStarted", "(Lcom/actionbarsherlock/view/ActionMode;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_onActionModeStarted_Lcom_actionbarsherlock_view_ActionMode_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, id_onActionModeStarted_Lcom_actionbarsherlock_view_ActionMode_, new JValue(p0));
            }
        }