WheelView icon indicating copy to clipboard operation
WheelView copied to clipboard

setSelection失效问题

Open DongDian455 opened this issue 5 years ago • 0 comments

hi, 我在设置选中位置的时候,发现并不生成, 我要把源码中的200毫秒缓存1000才生成,问下这里设置延迟的原因是什么,另外有什么好的办法解决setSelection失效问题吗

WheelView.this.postDelayed(new Runnable() {
            @Override
            public void run() {
                WheelView.super.setSelection(getRealPosition(selection));
                refreshCurrentPosition(false);
                setVisibility(View.VISIBLE);
            }
        }, 1000);

DongDian455 avatar Feb 22 '20 06:02 DongDian455