Created
May 15, 2017 00:41
-
-
Save julianfalcionelli/1939d74ee11d0e76c30a80a6b06dd611 to your computer and use it in GitHub Desktop.
ExampleTaskLoader
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 ExampleTaskLoader extends AsyncTaskLoader<String> { | |
public ExampleTaskLoader(Context context) { | |
super(context); | |
onContentChanged(); | |
} | |
@Override | |
public String loadInBackground() { | |
return performBlockingTask(); | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment