Hey, thanks for the post.
Said Tahsin Dane

Hi Said,

Thanks for your response, regarding the @StringRes the problem is just how you define it (since you can’t have a body for an annotation class ). As for the @IntDef it complains and that’s why you have to go through the @JvmField trick.

Maybe I should make my article clearer regarding this point.

Show your support

Clapping shows how much you appreciated Benjamin Monjoie’s story.