Custom Annotations In Android
The most common use case for using annotations is enforcing certain constraints, for example:
In this example, the date field is a string, but what if we want to restrict the format of the data stored in the data class? Annotations come to the rescue...
zaidu.hashnode.dev3 min read