title: Android - Is getResource() expensive?
body: <p>if i need to use a resource twice, is it better to store it in a String?</p>
  
  <pre><code>public class Testing extends Activity{
      private String c_stringName;
  
      @Override
      public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
              c_stringName= this.getString(R.string.name);
  
  
  }
  }
  </code></pre>