Android Question Any benefit using KeyValueStore when you use SQLite in any case?

RB Smissaert

Well-Known Member
Licensed User
Longtime User
I currently store some settings with kvs, but wonder if there is any benefit if you run SQLite in any case. Storing directly to SQLite gives more control and just makes it clearer what is going on. The only benefit I can see is that is simpler to store and retrieve complex types.

RBS
 

RB Smissaert

Well-Known Member
Licensed User
Longtime User
This is exactly the purpose of KVS.
If you need a key / value store then KVS is a good option.

OK, I do have one UDT (Type) to store and not sure I can serialize that to blob (and back), so will stick with KVS.

RBS
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…