Could I contain permission name in string res

后端 未结 1 1113
心在旅途
心在旅途 2021-01-19 04:46

Sample code:



相关标签:
1条回答
  • 2021-01-19 05:06

    No, that's impossible. Take a look here. You can use resources to specify a label, but not the name:

    The name must be unique, so it should use Java-style scoping — for example, "com.example.project.PERMITTED_ACTION".

    0 讨论(0)
提交回复
热议问题