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

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -