ViewTreeFullyDrawnReporterOwner
public final class ViewTreeFullyDrawnReporterOwner
Summary
Public methods |
|
|---|---|
static final FullyDrawnReporterOwner |
Retrieve the |
static final void |
set(Set the |
Public methods
get
public static final FullyDrawnReporterOwner get(@NonNull View receiver)
Retrieve the FullyDrawnReporterOwner associated with the given View. This may be used to indicate that a part of the UI is drawn and ready for first user interaction.
| Returns | |
|---|---|
FullyDrawnReporterOwner |
The |
set
public static final void set(
@NonNull View receiver,
@NonNull FullyDrawnReporterOwner fullyDrawnReporterOwner
)
Set the FullyDrawnReporterOwner associated with the given View. Calls to findViewTreeFullyDrawnReporterOwner from this View or descendants will return fullyDrawnReporterOwner.
This should only be called by constructs such as activities that manage a view tree and handle the dispatch of ComponentActivity.reportFullyDrawn.
| Parameters | |
|---|---|
@NonNull FullyDrawnReporterOwner fullyDrawnReporterOwner |
|