Java android put a variable to find a spinner id
<p><br>
I have a xml layout where is my spinner with id "test"<br>
How can I put my variable "IdSpinner" into R object.<br>
I want to make a common method to create  a lot of spinners ,where argument is a spinner id.</p>

<pre><code>listLanguage('test');

public void listLanguage(String test) {
   final Spinner spinnerLanguage = (Spinner) findViewById(R.id....);
}
</code></pre>
