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: |

Ng Man-ho, a 27-year-old computer technician, was convicted last month of seven counts of incitement charges after he made use of the 100,000-member Chinese-language channel that he runs and manages to post "seditious messages," which had been shut down since August 2020. A vandalised bank during the 2019 protest. File photo: May James/HKFP. The channel also called on people to turn out for illegal assemblies and listed the things that participants should bring along with them, showing prior planning was in the works for riots. The messages also incited people to hurl toxic gas bombs at police and MTR stations, he added. The SUCK Channel on Telegram, with a message saying some content has been removed by the police. Photo: Telegram screenshot. To delete a channel with over 1,000 subscribers, you need to contact user support
from us


Telegram Kotlin
FROM American