title: Android setText / R.string / values
body: <p>I am having trouble with setting text in a text view with format and multiple values.</p>
  
  <pre><code>holder.car.setText(R.string.mycar + lm.getCarName() + R.string.year + lm.getYear());
  </code></pre>
  
  <p>this is giving me " 2143545 Camero 2143213 1977 "</p>
  
  <p>I have tried few other "solutions" from the web</p>
  
  <pre><code>holder.car.setText(getString(R.string.mycar) + lm.getCarName() + getString(R.string.year) + lm.getYear());  &lt;&lt; not work, getString undefine&gt;&gt;
  </code></pre>
  
  <p>I even tried <code>String.valueOf(R.string.mycar);  getResources().getText(R.String.mycar)</code>, still it didn't work.</p>
  
  <p>It would be great if someone can help me, thanks</p>