Gather all Strings from SharedPreference getAll() Method?
问题 I'm trying to figure out how to set every String and Key name from my app's SharedPreferences using the getAll() method so I can use those values to name populated buttons and assign those buttons to the access the proper string in sharedpreferences to display in a textview. The problem is I do not know how to save these values to a String or String Array because I haven't ever dealt with maps before. If anybody could help me store my SharedPreferences keys and string values to a String array