0

As suggested by developers, The sqlite operations must be performed on the Background thread. But in some cases, if the sqlite operations are being performed on Background thread And during that, the user remove the application from recent task.

This causes app to be gone in an undesired state. Sometimes cause a crash next time when I open my app.

If I perform sqlite operation on UI thread, everything goes fine. My app has lot of sqlite operations to be performed at lot of times. How should I deal with this.

Rahul Rastogi
  • 4,486
  • 5
  • 32
  • 51

0 Answers0