也许我没有看到树的森林,但有没有一种方法可以使用字符串资源为注释字段提供值。我想是一样的东西所以Android Annotations:使用字符串资源提供注释值
@Rest([email protected](R.string.root_url), converters=MappingJackson2HttpMessageConverter.class)
public interface MyRestService extends RestClientErrorHandling {...
在@Rest注释,则rootURL值应该从字符串资源R.string.root_url值。
任何方向非常感谢。