KOTLIN_ADEPT Telegram 27
This media is not supported in your browser
VIEW IN TELEGRAM
Попалась интересная статья (EN, 7 мин) о том как перевести такой красивый интерфейс с Jetpack Compose на Compose Multiplatform и запустить его на iOS.

Помимо переноса кода в commonMain сорсет, переработки gradle скриптов, необходимо сделать следующее:

Адаптировать ресурсы иконок, избавиться от ссылок на Android
Изменить способ работы со шрифтами для iOS
Убрать из общего кода все обращения к java классам, например к TimeUnit
Не использовать native canvas
Вынести реализацию BackHandler для разных сорсетов, поддержать обработку жестов в iOS

Исходный код примера можно посмотреть здесь
Please open Telegram to view this post
VIEW IN TELEGRAM
👍12



tgoop.com/kotlin_adept/27
Create:
Last Update:

Попалась интересная статья (EN, 7 мин) о том как перевести такой красивый интерфейс с Jetpack Compose на Compose Multiplatform и запустить его на iOS.

Помимо переноса кода в commonMain сорсет, переработки gradle скриптов, необходимо сделать следующее:

Адаптировать ресурсы иконок, избавиться от ссылок на Android
Изменить способ работы со шрифтами для iOS
Убрать из общего кода все обращения к java классам, например к TimeUnit
Не использовать native canvas
Вынести реализацию BackHandler для разных сорсетов, поддержать обработку жестов в iOS

Исходный код примера можно посмотреть здесь

BY Kotlin Adept Notes


Share with your friend now:
tgoop.com/kotlin_adept/27

View MORE
Open in Telegram


Telegram News

Date: |

Users are more open to new information on workdays rather than weekends. Don’t publish new content at nighttime. Since not all users disable notifications for the night, you risk inadvertently disturbing them. For crypto enthusiasts, there was the “gm” app, a self-described “meme app” which only allowed users to greet each other with “gm,” or “good morning,” a common acronym thrown around on Crypto Twitter and Discord. But the gm app was shut down back in September after a hacker reportedly gained access to user data. Clear With the sharp downturn in the crypto market, yelling has become a coping mechanism for many crypto traders. This screaming therapy became popular after the surge of Goblintown Ethereum NFTs at the end of May or early June. Here, holders made incoherent groaning sounds in late-night Twitter spaces. They also role-played as urine-loving Goblin creatures.
from us


Telegram Kotlin Adept Notes
FROM American