#kotlin #kmm Multiplatform Live Coding w/ Android, #JetpackCompose: Handling Strings, Icons, etc.

preview_player
Показать описание
Today I will be converting an Android specific Compose application into a KMM (Desktop and Android front ends) application in preparation for my Halloween livestream special.

Project repository:

Learn to code like me:

Hey! Did this FREE content help you? Likes, Subscribes, Follows and so on are all forms of digital currency. Help a brogrammer out:

Рекомендации по теме
Комментарии
Автор

My suspicion was correct, attempting to use LinkedList and LinkedHashMap in the commonMain source set wasn't working because commonMain is meant to be platform independent, even of the JVM. Therefore switching from such Java classes to Kotlin Map and List types fixed the compiler errors. I still haven't tested the resulting code though.

wiseAss