【发布时间】:2021-01-31 13:35:39
【问题描述】:
来自:this answer,它提供了一个关于如何从 sharedpreference 读取/写入数组的非常简短的示例。但是,由于对此知之甚少,我对这些代码中的变量感到非常困惑。 CMIIW..
-
myScores指的是共享偏好? -
listOfExistingScores指的是什么?数组列表?还是别的什么? -
scoreEditor指的是 ArrayList?还是列表视图?还是自定义 ListView?
请原谅我缺乏知识..
【问题讨论】:
标签: java android arrays android-studio sharedpreferences