Implement custom views.

This table lists all the artifacts in the androidx.customview group.

Artifact Stable Release Release Candidate Beta Release Alpha Release
customview 1.1.0 - - 1.2.0-alpha02
customview-poolingcontainer 1.0.0 - - -
This library was last updated on: September 21, 2022

Declaring dependencies

To add a dependency on CustomView, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:


dependencies {
    implementation "androidx.customview:customview:1.1.0"


dependencies {


Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Customview Poolingcontainer Version 1.0

Version 1.0.0

July 27, 2022

androidx.customview:customview-poolingcontainer:1.0.0 is released. Version 1.0.0 contains these commits.

Major features of 1.0.0

  • Upgrading RecyclerView to 1.3.0-alpha02 or newer and Compose UI to 1.2.0-beta02 or newer will enable more performant reuse of RecyclerView children containing Compose views. See this blog post for more information.

  • For most users, there is no need to use this library directly, unless you are developing a RecyclerView-like ViewGroup or a View that requires additional resources to be explicitly disposed when it is removed (like Compose).

Version 1.0.0-rc01

June 15, 2022

androidx.customview:customview-poolingcontainer:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.

  • This version is identical to androidx.customview:customview-poolingcontainer:1.0.0-beta02.

Version 1.0.0-beta02

May 18, 2022

androidx.customview:customview-poolingcontainer:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.

  • No changes, needed to support Compose 1.2.0-beta02 versions.

Version 1.0.0-beta01

May 11, 2022

androidx.customview:customview-poolingcontainer:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.

New Features

  • Improved documentation!

Version 1.0.0-alpha01

March 23, 2022

androidx.customview:customview-poolingcontainer:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Features in first release

  • The CustomView Poolingcontainer library contains utilities for listening to the lifecycle of containers that manage their child Views' lifecycle, such as RecyclerView.

Version 1.2.0

Version 1.2.0-alpha02

September 21, 2022

androidx.customview:customview:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.

API Changes

  • Added @NonNull annotations to the create() methods of ViewDragHelper. (I93a01, b/236474222)

Version 1.2.0-alpha01

February 23, 2022

androidx.customview:customview:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

New Features

  • Add a new PoolingContainer library that allows for listening to dispose events of a container that manages its children outside the View hierarchy. This will later be added as a dependency of Compose and RecyclerView (I0e3f6, b/196371929)

API Changes

  • Improved support for AccessibilityNodeInfoCompat#setBoundsInScreen in ExploreByTouchHelper and added setBoundsInScreenFromBoundsInParent, which can be used to translate parent bounds to screen bounds. (Ie5529)

Version 1.1.0

Version 1.1.0

June 24, 2020

androidx.customview:customview:1.1.0 is released. Version 1.1.0 contains these commits.

Major changes since 1.0.0

  • Added a new Openable interface for layouts that can transition between an ‘open’ and ‘closed’ state.

Version 1.1.0-rc01

May 20, 2020

androidx.customview:customview:1.1.0-rc01 is released with no changes since 1.1.0-beta01. Version 1.1.0-rc01 contains these commits.

Version 1.1.0-beta01

April 1, 2020

androidx.customview:customview:1.1.0-beta01 is released with no changes since 1.1.0-alpha02. Version 1.1.0-beta01 contains these commits.

Version 1.1.0-alpha02

March 4, 2020

androidx.customview:customview:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.

New Features

  • Added a new Openable interface for layouts that can transition between an ‘open’ and ‘closed’ state. DrawerLayout now implements this interface in DrawerLayout 1.1.0-alpha04. (b/129979320)

Version 1.1.0-alpha01

June 13, 2019

androidx.customview:customview:1.1.0-alpha01 is released. The commits included in this version can be found here.

API changes

Bug fixes

  • Fixed some small bugs in ExploreByTouchHelper ((aosp/957741)