SeriesGuide icon indicating copy to clipboard operation
SeriesGuide copied to clipboard

Move ContentProvider operations to background thread

Open UweTrottmann opened this issue 6 years ago • 1 comments

This is a long-term goal. Do this when changing affected code.

Some ContentProvider operations do not run on a background thread. Move them to one (plus switching to Room APIs) and then remove .allowMainThreadQueries() from SgRoomDatabase.

Related to #581.

Make liberal use of coroutines (but with Global scope to ensure db ops run even if activity/fragment scope is cancelled).

UweTrottmann avatar Oct 04 '18 14:10 UweTrottmann

Started with part of ShowTools. 7c692c8c 36fa4b82

UweTrottmann avatar May 24 '19 10:05 UweTrottmann