ResourceInspection
  
Surface the attributes of custom views in Android Studio’s Live Layout Inspector.
Latest Update Stable Release Release Candidate Beta Release Alpha Release
January 26, 2022 1.0.1 - - -

Declaring dependencies

To add a dependency on ResourceInspection, 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:

Groovy

dependencies {
    implementation "androidx.resourceinspection:resourceinspection-annotation:1.0.1"
}

Kotlin

dependencies {
    implementation("androidx.resourceinspection:resourceinspection-annotation:1.0.1")
}

For more information about dependencies, see Add build dependencies.

Feedback

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.

Version 1.0

Version 1.0.1

January 26, 2022

androidx.resourceinspection:resourceinspection-annotation:1.0.1 and androidx.resourceinspection:resourceinspection-processor:1.0.1 are released. Version 1.0.1 contains these commits.

Bug Fixes

  • Added package documentation

Version 1.0.0

November 3, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0 and androidx.resourceinspection:resourceinspection-processor:1.0.0 are released. Version 1.0.0 contains these commits.

Major features of 1.0.0

  • The ResourceInspection library provides an annotation processor for library developers to surface the attributes of custom views in Android Studio’s Live Layout Inspector.

Version 1.0.0-rc01

October 27, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-rc01 and androidx.resourceinspection:resourceinspection-processor:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

  • No changes since 1.0.0-beta01

Version 1.0.0-beta01

September 15, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-beta01 and androidx.resourceinspection:resourceinspection-processor:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.

Bug Fixes

  • Fixed crash on non-existent attributes (I87df0)
  • Fixed crash when compiling against an older SDK (Ie8a1e)
  • Added validation for int enums and flags (Ic7ecf)

Version 1.0.0-alpha03

June 30, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha03 and androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.

Bug Fixes

  • Fix a bug in generated code that prevented the Layout Inspector from reading view attributes. (Ic7507)

Version 1.0.0-alpha02

June 2, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha02 and androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

API Changes

Version 1.0.0-alpha01

March 24, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha01 and androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

New Features

The Resource Inspection library provides a convenient way for library developers to surface the attributes of custom views in Android Studio’s Live Layout Inspector. This initial release is 1.0.0-alpha01.