2011年5月28日 星期六

取得Resource字串值

我們可以使用java.lang.CharSequence 這個Interface 取得global中的Resource ID

EX: CharSequence str = getString(R.string.str);

沒有留言:

張貼留言