android - Best Way to Store Previously Entered User Input in EditText? -


what best way store entered user input edittext , have edittext suggest user when begin type next time use application?

my original idea use autocompletetextview store user inputed data array (maybe using sharedpreferences?). upon application reload, pull string array , available suggest entered input user. sharedpreferences can't store arrays, best way go doing this?

i can't seem find question posted elsewhere. thoughts?

you can store arrays in shared preferences. truth told, can store objects in them ;)

i store data in comma delimited string out this:

string [] tth_array = textutils.split(appprefs.gettransmissiontimehistory(), ","); 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -