com.greenfrvr.annyprefs.annotation.DatePref Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annyprefs-annotations Show documentation
Show all versions of annyprefs-annotations Show documentation
Android annotation based SharedPreferences wrapper with fluent interface.
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 DatePref {
@StringRes int keyRes() default -1;
String key() default "";
long value() default 0;
}