Skip to content

Instantly share code, notes, and snippets.

@macklinu
Created September 23, 2014 17:01
Show Gist options
  • Select an option

  • Save macklinu/f90513be33e7776f757c to your computer and use it in GitHub Desktop.

Select an option

Save macklinu/f90513be33e7776f757c to your computer and use it in GitHub Desktop.
import android.support.annotation.IntDef;
import java.lang.annotation.Retention;
import static android.view.View.GONE;
import static android.view.View.INVISIBLE;
import static android.view.View.VISIBLE;
import static java.lang.annotation.RetentionPolicy.CLASS;
@Retention(CLASS)
@IntDef({VISIBLE, INVISIBLE, GONE})
public @interface VisibilityDef {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment