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

大佬,有个问题就是加载数据比较慢,每次打开就会闪一下,用户体验很不好怎么办? #60

Open
SUHONGJIN opened this issue Aug 28, 2019 · 3 comments

Comments

@SUHONGJIN
Copy link

No description provided.

@SUHONGJIN
Copy link
Author

解决了,谢谢。

@DongDian455
Copy link

怎么解决的

@zzzDragon
Copy link

将这个方法的延迟500毫秒去掉
/**
* 设置滚轮位置
*
* @param selection
*/
@OverRide
public void setSelection(final int selection) {
mSelection = selection;
setVisibility(View.INVISIBLE);
WheelView.this.post(() -> {
WheelView.super.setSelection(getRealPosition(selection));
refreshCurrentPosition(false);
setVisibility(View.VISIBLE);
});
}

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

3 participants