While developing for Android we come across a lot of different annotation classes like
StringDef that effectively replace enums.
On Java that is no problem, as those annotations are checked in the compile time and we get suggestions and warnings based on that. Think of when you are setting the visibility of a view(in java) and the first suggestions are always
VISIBLE, that is the power of
IntDef. Programming for Kotlin? Then you always have to look up what is expected as input.
Now we can create the defs in Kotlin itself, which is great, but suggestions and warnings are still not there. Do we have some updates on that? am I missing something? Or what are your opinions on the subject?