refactor SArrayAdapter so that resource id can be specified on construction #57

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

Comments

Projects
None yet
2 participants
@weihsiu

weihsiu commented Jul 29, 2013

how about making the resource id configurable when constructing SArrayAdapter? we are stuck with android.R.layout.simple_spinner_item when android.R.layout.simple_list_item_1 might be more appropriate under different circumstances.

@pocorall pocorall closed this in ae1524d Aug 3, 2013

@pocorall

This comment has been minimized.

Show comment
Hide comment
@pocorall

pocorall Aug 3, 2013

Owner

Current snapshot now have an additional parameter to specify text view resource ID.

For example:
SArrayAdapter(android.R.layout.simple_list_item_1, Array("One", "Two"))

Owner

pocorall commented Aug 3, 2013

Current snapshot now have an additional parameter to specify text view resource ID.

For example:
SArrayAdapter(android.R.layout.simple_list_item_1, Array("One", "Two"))

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