Closed GoogleCodeExporter closed 9 years ago
You can set
wheel.setFocusable(false);
wheel.setFocusableInTouchMode(false);
in the init wheel function to disable scrolling, not a nice thing to do
probably but works like a charm
Original comment by Distorte...@gmail.com
on 19 Feb 2011 at 9:35
Will give it a bash, thanks for the response.
Original comment by jeromede...@gmail.com
on 21 Feb 2011 at 7:04
I've tried setFocusable + setFocusableInTouchMode in init wheel function, this
only seem to disable clicking/skipping but not scrolling. I also tried
setLongClickable(false), setClickable and so on but to no avail.
Original comment by thomasko...@gmail.com
on 21 Feb 2011 at 9:04
It needs to fix WheelView.onTouchEvent() that should do nothing if wheel is
disabled:
@Override
public boolean onTouchEvent(MotionEvent event) {
if (!isEnabled() || getViewAdapter() == null) {
return true; // or false?
}
. . .
Hope it helps.
Will update it soon.
Original comment by yuri.kan...@gmail.com
on 22 Feb 2011 at 7:55
Thanks Yuri. Also wanted to tell that I am very grateful for the effort you put
into this view. Thanks
Original comment by jeromede...@gmail.com
on 22 Feb 2011 at 8:06
Excellent, that did the trick! Many thanks and big up yourself for this awesome
widget!
Original comment by thomasko...@gmail.com
on 23 Feb 2011 at 12:01
Original comment by yuri.kan...@gmail.com
on 4 Mar 2011 at 8:56
Original issue reported on code.google.com by
jeromede...@gmail.com
on 14 Feb 2011 at 9:27