When I try to use this in Eclipse (3.6) I get:
The method putStringSet(String, HashSet<String>) is undefined for the type 
SharedPreferences.Editor

If I cast the HashSet to a Set I get this:
The method putStringSet(String, Set) is undefined for the type 
SharedPreferences.Editor

However it's clearly defined in the documentation.
http://developer.android.com/reference/android/content/SharedPreferences.Editor.html#putStringSet%28java.lang.String,%20java.util.Set%3Cjava.lang.String%3E%29

The documentation says "Since API Level 1"

And the 'Quick Fixes' offered aren't helpful.

I don't think I'm missing any imports but that could make sense too...

I freely admit that I'm not up to speed on Java or Eclipse, so there's good 
odds I'm missing something obvious...

Anyone care to point out the obvious?

Thank you.

Gary Lucas

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to