Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 381
Erfan Avatar asked Feb 04 '26 09:02

Erfan


1 Answers

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

like image 61
Anupam Jain Avatar answered Feb 07 '26 01:02

Anupam Jain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!