xiaofans / android-wheel

Automatically exported from code.google.com/p/android-wheel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locked item feature!

GoogleCodeExporter opened this issue · comments

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:

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

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

You should call it before setViewAdapter invocation

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