change the type of "style" and "dropDownStyle" of SArrayAdapter to something more flexible #58

Closed
weihsiu opened this Issue Jul 29, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@weihsiu

weihsiu commented Jul 29, 2013

wouldn't it be more flexible if the type for both "style" and "dropDownStyle" of SArrayAdapter is changed to View => View? TextView => TextView is pretty limiting.

@pocorall pocorall closed this in 42017b9 Aug 3, 2013

@pocorall

This comment has been minimized.

Show comment
Hide comment
@pocorall

pocorall Aug 3, 2013

Owner

SArrayAdapter is now generalized to have the type of views as a type parameter.

For example:
new SArrayAdapter[View, String](Array("One", "Two"))

And please refer to the changed implementation of object SArrayAdapter.

Owner

pocorall commented Aug 3, 2013

SArrayAdapter is now generalized to have the type of views as a type parameter.

For example:
new SArrayAdapter[View, String](Array("One", "Two"))

And please refer to the changed implementation of object SArrayAdapter.

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