udacity / ud851-Sunshine

Apache License 2.0
2k stars 4.51k forks source link

S10.03-Solution-FirebaseJobDispatcher #200

Closed HasanElHefnawy closed 5 years ago

HasanElHefnawy commented 5 years ago

In onStartJob of SunshineFirebaseJobService, why don't we just use the following line of code instead of using AsyncTask? SunshineSyncUtils.startImmediateSync(this);