@Retention(value=CLASS)
@Target(value=CONSTRUCTOR)
public @interface InflationInject
Context and
AttributeSet parameters should be marked with @Inflated. All other
parameters will be fetched from the dependency graph.
For example:
@InflationInject
public CustomView(
@Inflated Context context,
@Inflated AttributeSet attrs,
Picasso picasso
) {
super(context, attrs);
this.picasso = picasso;
}
The annotation processor will automatically include all @InflationInject-annotated types
in a generated module that can be included in the graph.InflationModule