Created
May 15, 2017 00:14
-
-
Save julianfalcionelli/7068e5f88ee4fe49a95e7de35eb7e051 to your computer and use it in GitHub Desktop.
IntentService
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BackgroundService extends IntentService { | |
private static final String TAG = BackgroundService.class.getSimpleName(); | |
public BackgroundService() { | |
super(TAG ); | |
} | |
@Override | |
protected void onHandleIntent(Intent intent) { | |
blockingTask(); | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment