Closed mohaxspb closed 9 years ago
We test
Looper.myLooper() == Looper.getMainLooper()
on onResume() and in Service and we have true here. But in AsyncTask we have false, so, as I understand, we will have no lags (i.e. onReceiving arts in frag) while working with DB;
Done in commit 86aac48e9a;
Also in docs there is info about it. Service really works in UI thread;
We test
on onResume() and in Service and we have true here. But in AsyncTask we have false, so, as I understand, we will have no lags (i.e. onReceiving arts in frag) while working with DB;