CoraLibre / CoraLibre-android-sdk

CoraLibre-android-sdk fork of prestandard DP-3T to make compatible with the Google/Apple protocol
Mozilla Public License 2.0
127 stars 7 forks source link

Data storage #31

Closed haitrec closed 4 years ago

haitrec commented 4 years ago

Closes #19 (actual persistent database is not active yet, but an equivalent in-memory db; that can be changed via setting a flag on database construction; see DatabaseAccess and PersistentDatabase classes)

theScrabi commented 4 years ago

Nice work. I like it. My main concern is only the dependency injection. I would like to have a factory class (Maybe make PPCP the factory). And set all the objects that should be injected in a PPCP.init(). This way we can get rid of the .getInstance() foo.