从长远来看,主要关注代码的可读性和可维护性,我的应用程序永远不会本地化,几乎没有字符串重复
textView.setText(context.getString(R.string.string, arg));
相比:
textView.setText(String.format("string %s", arg));
你怎么看?
从长远来看,主要关注代码的可读性和可维护性,我的应用程序永远不会本地化,几乎没有字符串重复
textView.setText(context.getString(R.string.string, arg));
相比:
textView.setText(String.format("string %s", arg));
你怎么看?