All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.greenfrvr.annyprefs.annotation.IntPref Maven / Gradle / Ivy

The newest version!
package com.greenfrvr.annyprefs.annotation;

import android.support.annotation.StringRes;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.CLASS;

/**
 * Created by greenfrvr
 */
@Target(METHOD)
@Retention(CLASS)
public @interface IntPref {

    @StringRes int keyRes() default -1;

    String key() default "";

    int value() default 0;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy