androidx.annotation:annotation-experimental
Official Description: Java annotation for use on unstable Android API surfaces. When used in conjunction with the Experimental annotation lint checks, this annotation provides functional parity with Kotlin's Experimental annotation.
CommonsWare’s Notes
This artifact provides two annotations:
-
@Experimental
, to mark an API has being Experimental -
@UseExperimental
, to be used on the end consumer of an@Experimental
API
If you also add annotation-experimental-lint
,
then you will get Lint warnings if you have code that calls an @Experimental
API and that code itself is not annotated with either @UseExperimental
or
@Experimental
.
Documentation
Versions
- Latest Stable: 1.0.0
- Latest Release Candidate: 1.0.0-rc01
- Latest Beta: 1.1.0-beta01
- Latest Alpha: 1.1.0-alpha01