dotfeng / android-wheel

Automatically exported from code.google.com/p/android-wheel
0 stars 0 forks source link

Locked item feature! #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, please add follow locked item feature for wheel.
WheelView gets new method setLockedItem. If you setup this item, other items in 
wheel before it can't be accessble for current value.

This feature is nessary, for example, to interdict user selecting time values 
(mins, hours) which is before the current time.

Original issue reported on code.google.com by abracham...@gmail.com on 2 Dec 2011 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago
This patch is helpfull ,if we want to restrict scrolling to previous items.

Original comment by rane...@gmail.com on 13 Oct 2012 at 12:40

GoogleCodeExporter commented 9 years ago
Hi abracham,
           I want same but don't know where to call setLockedItem() before setViewAdapter or after it ?

Original comment by lanettea...@gmail.com on 6 Sep 2013 at 11:40

GoogleCodeExporter commented 9 years ago
You should call it before setViewAdapter invocation

Original comment by abracham...@gmail.com on 7 Sep 2013 at 1:28