Example #1
0
        public virtual unsafe void SetListener(global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.Drawable.MarkerDrawable.IMarkerAnimationListener p0)
        {
            if (id_setListener_Lorg_adw_library_widgets_discreteseekbar_internal_drawable_MarkerDrawable_MarkerAnimationListener_ == IntPtr.Zero)
            {
                id_setListener_Lorg_adw_library_widgets_discreteseekbar_internal_drawable_MarkerDrawable_MarkerAnimationListener_ = JNIEnv.GetMethodID(class_ref, "setListener", "(Lorg/adw/library/widgets/discreteseekbar/internal/drawable/MarkerDrawable$MarkerAnimationListener;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_setListener_Lorg_adw_library_widgets_discreteseekbar_internal_drawable_MarkerDrawable_MarkerAnimationListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setListener", "(Lorg/adw/library/widgets/discreteseekbar/internal/drawable/MarkerDrawable$MarkerAnimationListener;)V"), __args);
                }
            } finally {
            }
        }
Example #2
0
 static void n_SetListener_Lorg_adw_library_widgets_discreteseekbar_internal_drawable_MarkerDrawable_MarkerAnimationListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.PopupIndicator __this = global::Java.Lang.Object.GetObject <global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.PopupIndicator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.Drawable.MarkerDrawable.IMarkerAnimationListener p0 = (global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.Drawable.MarkerDrawable.IMarkerAnimationListener)global::Java.Lang.Object.GetObject <global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.Drawable.MarkerDrawable.IMarkerAnimationListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetListener(p0);
 }
 static void n_OnClosingComplete(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.Drawable.MarkerDrawable.IMarkerAnimationListener __this = global::Java.Lang.Object.GetObject <global::Org.Adw.Library.Widgets.Discreteseekbar.Internal.Drawable.MarkerDrawable.IMarkerAnimationListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnClosingComplete();
 }