Example given appears to only work for Android. I see it's talking about that R class which you get autogenerated for you if you are an Android project. What if you're using desktop?
In my case, the app is actually multiplatform so ideally I'd want something I can put in commonMain...