Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setSelection失效问题 #65

Open
DongDian455 opened this issue Feb 22, 2020 · 0 comments
Open

setSelection失效问题 #65

DongDian455 opened this issue Feb 22, 2020 · 0 comments

Comments

@DongDian455
Copy link

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

WheelView.this.postDelayed(new Runnable() {
            @Override
            public void run() {
                WheelView.super.setSelection(getRealPosition(selection));
                refreshCurrentPosition(false);
                setVisibility(View.VISIBLE);
            }
        }, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant