gpt4 book ai didi

android - 在 Android 中动态地向资源字符串数组添加值

转载 作者:行者123 更新时间:2023-11-29 15:43:32 25 4
gpt4 key购买 nike

有没有办法动态地向 Android 资源 string-array 添加值?

例如:

    <?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="titles">
</string-array>
</resources>

最佳答案

Is there a way to dynamically add values to an Android resource string-array?

不,因为资源在运行时是只读的。

关于android - 在 Android 中动态地向资源字符串数组添加值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36561044/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com