https://kotlinlang.org logo
#android
Title
# android
s

skennedy

02/17/2018, 1:19 AM
class Blah(@StringRes val s: Int)
only annotates the constructor arg as
@StringRes
. If i want the accessor to be annotated, i need
class Blah(@StringRes @get:StringRes val s: Int)
. that seems a little ridiculous. what am i missing?