Created
September 25, 2013 23:20
-
-
Save ericwoodruff/6707606 to your computer and use it in GitHub Desktop.
SyncStates for an Android SyncAdapter
This file contains 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 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