package com.thefuntasty.infinity;

import android.support.annotation.IntDef;

public class InfinityConstant {
	public static final int IDLE = 0;
	public static final int LOADING = 1;
	public static final int FINISHED = 2;

	@IntDef({IDLE, LOADING, FINISHED})
	public @interface Status {}

	public static final int FIRST_PAGE = 0;
	public static final int NEXT_PAGE = 1;

	@IntDef({FIRST_PAGE, NEXT_PAGE})
	public @interface Part {}
}

@@ -71,16 +71,101 @@
 ntDef;%0A%0A
+import java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0A%0A
 public c
@@ -301,16 +301,52 @@
 D = 2;%0A%0A
+%09@Retention(RetentionPolicy.SOURCE)%0A
 %09@IntDef
@@ -485,16 +485,52 @@
 E = 1;%0A%0A
+%09@Retention(RetentionPolicy.SOURCE)%0A
 %09@IntDef

add missing @Retention annotations