Storing a list of strings to be displayed in listview?
I've been spending a lot of time trying to figure out the best method for
saving a list of strings. My activity displays an edittext to input a
string, a button to add it, and then the listview which displays the added
string and all previously added strings. I think SQLite is overkill for
this, but I can't figure out how to store a List in Shared Preferences.
I've heard people mention JSON and GSON, though I have no experience with
either and I'm not sure which option is best.
I'd really appreciate some advice as to which method would work best for
this situation. Thanks in advance everyone.
No comments:
Post a Comment