Question

It feels like I am missing something but how do you set the resource ID when making a spinner programmatically? (for example R.id.myspinner)

Thanx JP.

Was it helpful?

Solution

Use MySpinner.setId(int) if MySpinner is the reference to the spinner.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top