KOTLIN_LIB Telegram 519
moko-resources — это библиотека для управления ресурсами (строки, изображения, цвета и т.д.) в Kotlin Multiplatform проекте. Она позволяет использовать ресурсы из общего кода commonMain.

Основные возможности:
- Доступ к ресурсам из commonMain
- Поддержка string, string formatting, plurals, colors, images
- Генерация кода на основе .xml/.strings файлов
- Поддержка Android, iOS, desktop (JetBrains Compose)

Пример использования:


val str = MR.strings.some_string.desc()
textView.text = str.localized()


Поддержка платформ:
- Android
- iOS
- Desktop (Compose Multiplatform)


https://github.com/icerockdev/moko-resources

✍️ @kotlin_lib
👍5



tgoop.com/kotlin_lib/519
Create:
Last Update:

moko-resources — это библиотека для управления ресурсами (строки, изображения, цвета и т.д.) в Kotlin Multiplatform проекте. Она позволяет использовать ресурсы из общего кода commonMain.

Основные возможности:
- Доступ к ресурсам из commonMain
- Поддержка string, string formatting, plurals, colors, images
- Генерация кода на основе .xml/.strings файлов
- Поддержка Android, iOS, desktop (JetBrains Compose)

Пример использования:


val str = MR.strings.some_string.desc()
textView.text = str.localized()


Поддержка платформ:
- Android
- iOS
- Desktop (Compose Multiplatform)


https://github.com/icerockdev/moko-resources

✍️ @kotlin_lib

BY Kotlin




Share with your friend now:
tgoop.com/kotlin_lib/519

View MORE
Open in Telegram


Telegram News

Date: |

The public channel had more than 109,000 subscribers, Judge Hui said. Ng had the power to remove or amend the messages in the channel, but he “allowed them to exist.” Don’t publish new content at nighttime. Since not all users disable notifications for the night, you risk inadvertently disturbing them. Judge Hui described Ng as inciting others to “commit a massacre” with three posts teaching people to make “toxic chlorine gas bombs,” target police stations, police quarters and the city’s metro stations. This offence was “rather serious,” the court said. Telegram Channels requirements & features But a Telegram statement also said: "Any requests related to political censorship or limiting human rights such as the rights to free speech or assembly are not and will not be considered."
from us


Telegram Kotlin
FROM American