Erfan
Erfan

Reputation: 163

Storing Multiple Numbers in SharedPreferences without having specific keys

I'm gonna store some cell-numbers so that I can use them in AutoCompleteTextView later, so my problem is that if I store the numbers using same key the value will be over-written, any suggestion or alternatives?

Upvotes: 3

Views: 62

Answers (1)

Anupam Jain
Anupam Jain

Reputation: 65

You can't store different value for same key, so better you should use Sqlite.

Upvotes: 2

Related Questions