Hello World Android IntentService - EnqueueWork() Function Of IntentService Does Not Accept Parameter MyIntentService.class
I just want to write a 'Hello World IntentService App'. Unfortunately, I could not do that. Problem: MyIntentService.enqueueWork() method does not work. enqueueWork() function of I
Solution 1:
Instead of:
MyIntentService.enqueueWork()
it should be:
JobIntentService.enqueueWork(getApplicationContext(), MyIntentService.class, JOB_ID, mServiceIntent);
Post a Comment for "Hello World Android IntentService - EnqueueWork() Function Of IntentService Does Not Accept Parameter MyIntentService.class"