我在Android中有这样的代码;如何在对象中使用资源字符串? - Android
public static final String[] URLS = new String[]{"https://www.url1.com/","https://www.url2.com"};
我想要这样的代码;
public static final String[] URLS = new String[]{"@strings/url_1","@strings/url_2"};
我试了太多的代码,但没有奏效。我能做些什么呢? 非常感谢。