This repository was archived by the owner on Sep 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,13 @@ This is a Kotlin MultiPlatform library that provides declarative UI and applicat
66 in common code. You can implement full application for Android and iOS only from common code with it.
77
88## Sample Screen
9+
910| Android| iOS|
1011| ---| ---|
1112| ![ Sample Android] ( https://user-images.githubusercontent.com/5010169/70204616-d0bd1b00-1753-11ea-95d1-749341631ba7.png ) | ![ Sample iOS] ( https://user-images.githubusercontent.com/5010169/70204576-aff4c580-1753-11ea-95b9-14e488edb689.png ) |
13+
1214Code of screen structure:
15+
1316``` kotlin
1417class LoginScreen (
1518 private val theme : Theme ,
@@ -206,7 +209,15 @@ allprojects {
206209project build.gradle
207210``` groovy
208211dependencies {
209- classpath("dev.icerock.moko:widgets:0.1.0")
212+ commonMainApi("dev.icerock.moko:widgets:0.2.1")
213+
214+ commonMainApi("dev.icerock.moko:widgets-bottomsheet:0.2.1") // show bottom sheets
215+ commonMainApi("dev.icerock.moko:widgets-collection:0.2.1") // collection widget
216+ commonMainApi("dev.icerock.moko:widgets-datetime-picker:0.2.1") // show datepicker
217+ commonMainApi("dev.icerock.moko:widgets-image-network:0.2.1") // images with load from url
218+ commonMainApi("dev.icerock.moko:widgets-sms:0.2.1") // input with sms autofill
219+ commonMainApi("dev.icerock.moko:widgets-media:0.2.1") // moko-media integration
220+ commonMainApi("dev.icerock.moko:widgets-permissions:0.2.1") // moko-permissions integration
210221}
211222```
212223
@@ -219,7 +230,7 @@ buildscript {
219230 }
220231
221232 dependencies {
222- classpath "dev.icerock.moko.widgets:gradle-plugin:0.1.0 "
233+ classpath "dev.icerock.moko.widgets:gradle-plugin:0.2.1 "
223234 }
224235}
225236```
Original file line number Diff line number Diff line change 11[versions ]
22kotlinVersion = " 1.8.10"
33
4- mokoWidgetsVersion = " 0.2.0 "
4+ mokoWidgetsVersion = " 0.2.1 "
55mokoResourcesVersion = " 0.21.2"
66mokoMvvmVersion = " 0.16.0"
77mokoFieldsVersion = " 0.12.0"
You can’t perform that action at this time.
0 commit comments