Annotation Interface NewViews


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface NewViews
A group of @NewView associated to the same reference.

Applies to references.

It allows to define a value different for @NewView in each view.
Example:

  @NewViews({
    @NewView(forViews="DEFAULT", value= ... ),
    @NewView(forViews="Simple, VerySimple", value= ... ),
    @NewView(forViews="Complete", value= ... )
  })
 
Since:
7.7
Author:
Javier Paniza
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details