Пример #1
0
        static IntPtr n_SetListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Nineoldandroids.View.ViewPropertyAnimator            __this = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.View.ViewPropertyAnimator> (native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener p0     = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetListener(p0));

            return(__ret);
        }
        public virtual void RemoveListener(global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener p0)
        {
            if (id_removeListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_ == IntPtr.Zero)
            {
                id_removeListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_ = JNIEnv.GetMethodID(class_ref, "removeListener", "(Lcom/nineoldandroids/animation/Animator$AnimatorListener;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_removeListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, id_removeListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_, new JValue(p0));
            }
        }
Пример #3
0
 public override global::Com.Nineoldandroids.View.ViewPropertyAnimator SetListener(global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener p0)
 {
     if (id_setListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_ == IntPtr.Zero)
     {
         id_setListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_ = JNIEnv.GetMethodID(class_ref, "setListener", "(Lcom/nineoldandroids/animation/Animator$AnimatorListener;)Lcom/nineoldandroids/view/ViewPropertyAnimator;");
     }
     global::Com.Nineoldandroids.View.ViewPropertyAnimator __ret = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.View.ViewPropertyAnimator> (JNIEnv.CallObjectMethod(Handle, id_setListener_Lcom_nineoldandroids_animation_Animator_AnimatorListener_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
Пример #4
0
 public abstract global::Com.Nineoldandroids.View.ViewPropertyAnimator SetListener(global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener p0);
 static void n_OnAnimationCancel_Lcom_nineoldandroids_animation_Animator_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener __this = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.Animator.IAnimatorListener> (native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Nineoldandroids.Animation.Animator p0 = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.Animator> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnAnimationCancel(p0);
 }