如果我需要使用资源两次,将其存储在字符串中会更好吗?
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);
}
}