Created
June 23, 2020 00:30
-
-
Save codejunk1e/12efd3111318f17bffcaa1bd9498519c to your computer and use it in GitHub Desktop.
IntDef file template for Android
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
import androidx.annotation.IntDef; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
public class ${INTERFACE_NAME}s { | |
public static final int placeholder = 1; | |
@IntDef({placeholder}) | |
@Retention(RetentionPolicy.SOURCE) | |
public @interface ${INTERFACE_NAME} {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment