androidx.annotation.Size for Kotlin enum constructor parameters length validation

后端 未结 0 1685
灰色年华
灰色年华 2021-02-20 15:52

I want to validate the length of the enum constructor parameters, but it seems that androidx.annotation.Size annotation doesn\'t work with Kotlin enums.

How

相关标签:
回答
  • 消灭零回复
提交回复
热议问题