Skip to content

Instantly share code, notes, and snippets.

@ericwoodruff
Created September 25, 2013 23:20
Show Gist options
  • Save ericwoodruff/6707606 to your computer and use it in GitHub Desktop.
Save ericwoodruff/6707606 to your computer and use it in GitHub Desktop.
SyncStates for an Android SyncAdapter
public static enum SyncState {
none,
create,
read,
update,
delete,
creating,
reading,
updating,
deleting,
unconfirmed_delete,
not_found;
public String toString () {
return Integer.toString (this.ordinal ());
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment