---
title: "removeAndroidView"
description: "Called to inform the owner that an Android [View] was [detached][Owner.onDetach] from the hierarchy."
type: "function"
lastmod: "2026-08-27"
---
## API Reference

### removeAndroidView

> Source set: Android

```kotlin
fun removeAndroidView(view: AndroidViewHolder)
```

Called to inform the owner that an Android `View` was [detached](/jetpack-compose/androidx.compose.ui/ui/functions/onDetach/api) from the
hierarchy.
