Android Question KeyValueStore2 - how/when to use Close function?

Dave O

Well-Known Member
Licensed User
Longtime User
Hi there,

I'm starting to use KeyValueStore2 (KVS2) to save data in my poker app (save on Pause, load on Resume).

One thing I'm not clear on is the use of the Close function. It's not described much, and it's not used in the KVS2 demo app.

I tried it while saving and while loading, but I got run-time errors with both, so I removed those calls to Close.

What's the proper way to use (or not use) Close?

Thanks!
 
Top