Join Slack
Powered by
is it possible to add annotations to variables def...
# getting-started
m
matt tighe
06/20/2019, 10:34 PM
is it possible to add annotations to variables defined in interfaces? i.e
Copy code
interface foo { @StringRes val text: Int }
m
Matt Thompson
06/20/2019, 10:40 PM
yeah, you just have to specify
@get:StringRes
in this case
m
matt tighe
06/20/2019, 10:46 PM
thanks!
3
Views
Open in Slack
Previous
Next