Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add possibility to display only the current item when stopped #14

Open
GoogleCodeExporter opened this issue Aug 21, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

In my use-case I need to display only the current item, not the previous item, 
the current and the next.
Only when the user does scroll with the finger, then the previous and the next 
appear, for the time that the user picks values.
When the user is done picking a value, the previous and next appear again.

This patch adds an option to do that.

NOTE: this patch and the one for bug #13 could be combined in a new API

setDisplayOptions(int bitmask)

with bitmask values:
DISPLAY_OPTION_DISPLAY_SHADOWS
DISPLAY_OPTION_DISPLAY_ONLY_CURRENT_ITEM_EXCEPT_ON_SCROLL (or something like 
that)

Original issue reported on code.google.com by etouz...@gmail.com on 28 Feb 2011 at 2:30

Attachments:

@GoogleCodeExporter
Copy link
Author

sorry the first patch had a bug inside, this one is correct.

Original comment by etouz...@gmail.com on 28 Feb 2011 at 2:57

Attachments:

@GoogleCodeExporter
Copy link
Author

Thank you for the good idea!

I suppose the wheel view should provide just base wheel features, like 
scrolling, rendering items via adapters, drawing. But there should be the 
ability to extend all these features, to have behavior defined by you.
So the wheel view should be "tuned" either by delivered classes or by using 
configuration objects.

Original comment by yuri.kan...@gmail.com on 3 Mar 2011 at 4:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant