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

WheelView should have another parent class #26

Open
GoogleCodeExporter opened this issue Jul 22, 2015 · 1 comment
Open

WheelView should have another parent class #26

GoogleCodeExporter opened this issue Jul 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

After investigating the source code and android api docs I came out to 
conclusion that WheelView should extend AdapterView class.
That class extends View itself and has a method setAdapter which is common 
contract for every adapter-awared views.
See 
http://developer.android.com/reference/android/widget/AdapterView.html
for details. Thus WheelAdapter.setViewAdapter is redundant and method 
AdapterView.setAdapter must be used instead.

Original issue reported on code.google.com by buckel...@gmail.com on 3 Dec 2011 at 4:49

@GoogleCodeExporter
Copy link
Author

Also it is very strange that Wheel adapters does not provide access to 
underlying item itself... only item view (WheelViewAdapter.getItem(...)) or its 
text label (ArrayWheelAdapter.getItemText(int)).
For now I need to extends whatever class I need to provide this access 
method... It is not like in a "standard" adapter contract../

Original comment by buckel...@gmail.com on 11 Dec 2011 at 8:28

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