issues
search
venshine
/
WheelView
Android滚轮控件,基于ListView实现,可以自定义样式。
Apache License 2.0
1.04k
stars
217
forks
source link
大佬,有个问题就是加载数据比较慢,每次打开就会闪一下,用户体验很不好怎么办?
#60
Open
SUHONGJIN
opened
5 years ago
SUHONGJIN
commented
5 years ago
解决了,谢谢。
DongDian455
commented
4 years ago
怎么解决的
zzzDragon
commented
2 years ago
将这个方法的延迟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); }); }
解决了,谢谢。