Is it possible to fetch SQLite
on main thread and write from background thread in Android?
I need fetch data prompt, immediately, but long running upsert operation need to execute delayed, when no GUI press goes. DB is common resource in this case. How need it to be locked?
What is if long running background operation is still in progress but needs to fetch meantime?