Skip to content

Instantly share code, notes, and snippets.

@lmeadors
Created July 2, 2013 22:29
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/5913826 to your computer and use it in GitHub Desktop.
Save lmeadors/5913826 to your computer and use it in GitHub Desktop.
@Override
public void setBorrowed(final BorrowedListMessage message, final Context context) {
App.getInstance().setBorrowed(message);
new AsyncTask<Void, Void, Void>(){
@Override
protected Void doInBackground(final Void... params) {
serializableCache.saveCachedData(message, context.getCacheDir());
return null;
}
}.execute();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment