开发者

SharedPreferences.getStringSet() not found?

There's something that I don't understand with SharedPreference.

In this document it says that the getStringSet() method is supported from开发者_运维知识库 API 1. But I found no method like that. I use API 8 for my apps. What's happening here? Is it not supported anymore?

ps : There's no difference with the SharedPreference.Editor. There's no putStringSet() in the editor class.

screenshot : look.. no getStringSet()

SharedPreferences.getStringSet() not found?


public abstract Set getStringSet (String key, Set defValues) Since: API Level 11

In the typeface they use I often mistake the 11 for a 1, too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜