我需要在共享首选项上保存一些字符串数组,然后才能获取它们.我试过这个:
prefsEditor.putString(PLAYLISTS, playlists.toString()); 播放列表的位置 String[]
prefsEditor.putString(PLAYLISTS, playlists.toString());
String[]
得到:
playlist= myPrefs.getString(PLAYLISTS, "playlists");播放列表是一个String但它不起作用.
playlist= myPrefs.getString(PLAYLISTS, "playlists");
String
我怎样才能做到这一点 ?谁能帮我?
提前致谢.
arrays string android sharedpreferences
android ×1
arrays ×1
sharedpreferences ×1
string ×1