Last active
October 9, 2017 08:36
-
-
Save smyykb/df164f65b39b8bdb4601f8af7ac286f0 to your computer and use it in GitHub Desktop.
Forget enums...
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
@IntDef({ | |
ApplicationState.FOREGROUND, | |
ApplicationState.BACKGROUND, | |
}) | |
@Retention(RetentionPolicy.SOURCE) | |
public @interface ApplicationState { | |
int FOREGROUND = 0; | |
int BACKGROUND = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment