rakeeb
12/28/2018, 7:10 PMIntRange
annotation with Kotlin’s construction params? I can’t get the lint check to work.
Is there an idiomatic way to this in Kotlin?
Use-case:
class Example(
@param:IntRange(from = 1)
val limit: Int = 1
)
gildor
12/29/2018, 3:07 AM@get:IntRange
rakeeb
01/02/2019, 5:01 PM