ContentView

public abstract @interface ContentView
implements Annotation

androidx.annotation.ContentView


Annotation that can be attached to a component such as an ComponentActivity or Fragment to denote what layout the component intends to inflate and set as its content.

This annotation is marked as Inherited and will therefore apply to subclasses automatically.

It is strongly recommended that components that support this annotation specifically call it out in their documentation.

Summary

Public methods

int value()

Inherited methods

Public methods

value

public int value ()

Returns
int