# ViewTreeFullyDrawnReporterOwner

Added in 1.7.0

*** ** * ** ***


```
public final class ViewTreeFullyDrawnReporterOwner
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` | `https://developer.android.com/reference/androidx/activity/ViewTreeFullyDrawnReporterOwner#(android.view.View).get()(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html receiver)` Retrieve the `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` associated with the given `https://developer.android.com/reference/android/view/View.html`. |
| `static final void` | `https://developer.android.com/reference/androidx/activity/ViewTreeFullyDrawnReporterOwner#(android.view.View).set(androidx.activity.FullyDrawnReporterOwner)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html receiver, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner fullyDrawnReporterOwner )` Set the `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` associated with the given `https://developer.android.com/reference/android/view/View.html`. |

## Public methods

### get

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/ViewTreeFullyLoadedReporterOwner.kt+function:findViewTreeFullyDrawnReporterOwner) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/activity#1.7.0)

```
public static final FullyDrawnReporterOwner get(@NonNull View receiver)
```

Retrieve the `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` associated with the given `https://developer.android.com/reference/android/view/View.html`. This may be used to indicate that a part of the UI is drawn and ready for first user interaction.

| Returns |
|---|---|
| `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` | The `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` associated with this view and/or some subset of its ancestors |

### set

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/ViewTreeFullyLoadedReporterOwner.kt+function:setViewTreeFullyDrawnReporterOwner) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/activity#1.7.0)

```
public static final void set(
    @NonNull View receiver,
    @NonNull FullyDrawnReporterOwner fullyDrawnReporterOwner
)
```

Set the `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` associated with the given `https://developer.android.com/reference/android/view/View.html`. Calls to `https://developer.android.com/reference/androidx/activity/package-summary#(android.view.View).findViewTreeFullyDrawnReporterOwner()` from this `https://developer.android.com/reference/android/view/View.html` or descendants will return `https://developer.android.com/reference/androidx/activity/package-summary#(android.view.View).setViewTreeFullyDrawnReporterOwner(androidx.activity.FullyDrawnReporterOwner)`.

This should only be called by constructs such as activities that manage a view tree and handle the dispatch of `https://developer.android.com/reference/androidx/activity/ComponentActivity#reportFullyDrawn()`.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner fullyDrawnReporterOwner` | `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner` associated with the `https://developer.android.com/reference/android/view/View.html` |