Android Saved
4 subscribers
62 photos
2 files
32 links
Download Telegram
Immutability
The UI state definition in the example above is immutable. Immutable objects provide guarantees that multiple sources do not alter the state of the app at an instant in time. This protection frees the UI to focus on a single role: reading state and updating UI elements accordingly. Therefore, you should never modify the UI state in the UI directly, unless the UI itself is the sole source of its data. Violating this principle results in multiple sources of truth for the same piece of information, leading to data inconsistencies and subtle bugs.
Android Saved pinned «https://github.com/android/compose-samples»
adb shell am start -a android.intent.action.VIEW \
-c android.intent.category.BROWSABLE \
-d "http://domain.name:optional_port"
adb shell pm set-app-links --package PACKAGE_NAME 0 all
adb shell pm verify-app-links --re-verify PACKAGE_NAME
adb shell pm get-app-links --user cur PACKAGE_NAME
adb shell am start -W -a android.intent.action.VIEW -d "https://www.raywenderlich.com/test?code=abcde"
adb shell am start -d "https://www.raywenderlich.com/test?code=abcde"
Forwarded from Kotlin Multiplatform (Kostya)
https://androiddev.social/@terrakok/112524489436008295

Всем к ознакомлению!
Много модульный проект. На компоузе. С ресурсами, coil, koin, google навигация и прочее!

Работает везде: веб, десктоп, андроид, иос 🥳🥳🥳
(Все платформы работают соответственно своему статусу 😉)