Skip to content

Instantly share code, notes, and snippets.

@lmeadors
Created June 21, 2013 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmeadors/5834137 to your computer and use it in GitHub Desktop.
Save lmeadors/5834137 to your computer and use it in GitHub Desktop.
@Override
protected Void doInBackground(Boolean... force) {
final boolean forceRefresh;
if (force != null && force.length > 0) {
forceRefresh = force[0];
} else {
forceRefresh = false;
}
localBroadcastHelper.sendBroadcast(this, getResponse(forceRefresh));
return null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment