VincentJousse

Results 23 comments of VincentJousse

When I say "retain the database connection", I mean "call OpenHelperManager.getHelper and OpenHelperManager.releaseHelper". The Android docs http://developer.android.com/guide/components/loaders.html and http://developer.android.com/reference/android/content/Loader.html don't mention anything about database because Loaders mecanism abstracts the data...

@j256 Do you agree that OrmLite must be compliante with the use case I described ?

OK, I understand. The problem here is that the documentation encourage to do what I did, I mean use OrmLiteBase classes to manage access to the database helper whereas it...

It's becoming quite complicated !! Why not letting OrmLite Loaders be connected to OpenHelperManager like OrmLite Activities are ? The dao parameter in constructor would be replaced by a class...

@kpgalligan , what about initializing the singleton in Application.onCreate() ? This would permit to remove the context parameter in the singleton getInstance() function (which is only used for initialization).

@kpgalligan , what do you think of my previous proposals ?

Calling [AudioBufferSourceNode::set_onended](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.AudioBufferSourceNode.html#method.set_onended) method with None doesn't fix the issue.

Depends on #193