package butterknife; import android.graphics.Bitmap; import android.support.annotation.DrawableRes; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.CLASS; /** * Bind a field to a {@link Bitmap} from the specified drawable resource ID. * <pre><code> * {@literal @}BindBitmap(R.drawable.logo) Bitmap logo; * </code></pre> */ @Retention(CLASS) @Target(FIELD) public @interface BindBitmap { /** Drawable resource ID from which the {@link Bitmap} will be created. */ @DrawableRes int value(); }