Marwan Ehab
08/02/2023, 3:00 PMMichael Paus
08/03/2023, 8:31 AMimplementation(compose.components.resources)
to your shared build.gradle.kts file, you can access resources in shared/src/commonMain/resources/
like this
val configString = resource("config.json").readBytes().decodeToString()
for raw bytes or like this
val headerGraphicsPainter = painterResource("header_graphics.png")
for image resources.