tapchicoma
10/05/2017, 8:48 AMconst
is not allowed for field that references generated const classes like android R
subclasses? IMHO, technically it should be allowed.
For example, const val TEXT_RES = R.string.some_text
genovich
10/05/2017, 8:52 AMtapchicoma
10/05/2017, 8:57 AMprivate const val DEFAULT_TITLE_TEXT_RES = R.string.big_teaser_title_text
and it says that R.string.XXX is not a constant value
kotlin version is 1.1.51
, project itself is an android lib projectgenovich
10/05/2017, 9:04 AMgildor
10/05/2017, 9:04 AMgenovich
10/05/2017, 9:05 AMgildor
10/05/2017, 9:08 AMtapchicoma
10/05/2017, 9:09 AMtapchicoma
10/05/2017, 9:33 AMtapchicoma
10/05/2017, 9:45 AM