mkjensen / danish-media-license

App for Android TV that provides access to videos available to everyone that pays the Danish media license
Apache License 2.0
3 stars 0 forks source link

Optimize DmlSyncAdapter by updating instead of deleting and inserting data #10

Closed mkjensen closed 8 years ago

mkjensen commented 8 years ago

DmlSyncAdapter is responsible for downloading content and keeping DmlProvider up-to-date. However, DmlSyncAdapter deletes and inserts data even if it was possible to simply update the data instead.

Also, note that DmlProvider does not implement batching until https://github.com/mkjensen/danish-media-license/issues/9 is fixed.

mkjensen commented 8 years ago

DmlSyncAdapter was removed as a side effect of #24.