Typedef Annotations: @IntDef, @StringDef

Download android eBook


The annotations package includes a number of useful metadata annotations you can decorate your own code with, to help catch bugs.

Just add the dependency in the build.gradle file.

dependencies {
    compile 'com.android.support:support-annotations:25.3.1'

Related Examples


248 Contributors: 4
Tuesday, June 20, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook