WheelView icon indicating copy to clipboard operation
WheelView copied to clipboard

WheelView加载时有短暂的延迟

Open autume opened this issue 8 years ago • 4 comments

启动页面时,页面重的wheelview加载时会有一个短暂的延迟,demo中第二列的后两个wheelview也有此现象,不知道这是什么原因?

autume avatar Feb 20 '17 06:02 autume

我是【把WheelView里面的setSelection方法的postDelayed的时间从500改成20】解决的

CaptainRuby avatar Feb 24 '17 06:02 CaptainRuby

@CaptainRuby 测试过可行,谢谢!

autume avatar Feb 28 '17 03:02 autume

不用修改源码。作者在closed issue #7中提到过。如下设置即可: wheelView.setSelection(6); wheelView.setVisibility(View.VISIBLE); //放在setSelection()方法后 测试可行,没有出现延迟问题

bigablecat avatar Mar 02 '17 09:03 bigablecat

@bigablecat 可以的,不用修改源码解决问题!

LiQinglin007 avatar May 17 '18 03:05 LiQinglin007