package com.airbnb.epoxy; import android.support.annotation.LayoutRes; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Used to specify a list of databinding layout resources that you want EpoxyModels generated for. * The models will be generated in the same package as this annotation. Every layout must be a valid * databinding layout. The name of the generated model will be based on the layout resource name. * <p> * The layouts must not specify a custom databinding class name or package via the * class="com.example.CustomClassName" override in the layout xml. */ @Target(ElementType.PACKAGE) @Retention(RetentionPolicy.CLASS) public @interface EpoxyDataBindingLayouts { /** A list of databinding layout resources that should have EpoxyModel's generated for them. */ @LayoutRes int[] value(); }