NumberPicker event not firing

JPHochbaumJPHochbaum USMember ✭✭✭

I have an OnvlueChangedListener, and that listener is working.

But when I created a long click event it won't call the method.

`this.columnPicker = FindViewById(Resource.Id.picker);

        this.columnPicker.LongClick += ColumnPicker_LongClick;
        this.columnPicker.DescendantFocusability = DescendantFocusability.BlockDescendants;
        this.columnPicker.SetX(150);
        this.columnPicker.SetY(0);
        this.columnPicker.SetDividerDrawable(null);
        this.columnPicker.SetOnValueChangedListener(this);`

Is there a chance that the listener somehow unregisters all other events? I can't figure out another reason why it isn't working.

Answers

  • JPHochbaumJPHochbaum USMember ✭✭✭

    I also read that the OnValueChange() method is supposed to capture clicks but when I debug the app and click the scroller the method is not called.

Sign In or Register to comment.