mgrazianodecastro
02/17/2023, 1:58 PMconst val
inside object
is known to have cache problems with builds? I'm having some with them, where defining them once seems to create some difficulties to alter (some string, for example) later. Or is it some android studio problem (and not a kotlin one)?CLOVIS
02/17/2023, 2:06 PMconst
means the value is inlined on all callsite. If you edit the value, all downstream projects have to be recompiled to use it.const val
is private
or internal
it shouldn't, but I haven't checkedmgrazianodecastro
02/17/2023, 2:09 PMCLOVIS
02/17/2023, 2:10 PMmgrazianodecastro
02/17/2023, 2:12 PM