Ivy
01/10/2021, 4:03 PMmurdock
01/10/2021, 5:09 PMedenman
01/10/2021, 6:05 PMedenman
01/10/2021, 6:06 PMStringRef
enum in my common library and then a Resources
interface that has a fun getString(ref: StringRef): CharSequence
methodedenman
01/10/2021, 6:06 PMactual enum class StringRef(@StringRes val resID: Int)
so instead of a method that does the mapping, it’s baked into the definition of the enumalex009
01/11/2021, 1:38 AMIvy
01/12/2021, 12:48 PMmoko-resources
.alex009
01/12/2021, 1:28 PMIvy
01/12/2021, 2:55 PMmoko-resources
is hard to use. I cloned your team’s repository and then I saw how to generate the resource in moko-resource project such as MRGenerator. I mean that I am trying to understand moko-resource project structure.