Browse Source

Migrate "issues" to Compose 0.1.0-m1-build62

pull/49/head
Igor Demin 4 years ago
parent
commit
5201b36fc5
  1. 2
      examples/issues/build.gradle.kts
  2. 8
      examples/issues/common/src/commonMain/kotlin/androidx/ui/examples/jetissues/view/JetIssuesView.kt

2
examples/issues/build.gradle.kts

@ -8,7 +8,7 @@ buildscript {
}
dependencies {
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-m1-build57")
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-m1-build62")
classpath("com.android.tools.build:gradle:4.0.1")
classpath(kotlin("gradle-plugin", version = "1.4.0"))
}

8
examples/issues/common/src/commonMain/kotlin/androidx/ui/examples/jetissues/view/JetIssuesView.kt

@ -1,9 +1,15 @@
package androidx.ui.examples.jetissues.view
import androidx.compose.foundation.*
import androidx.compose.foundation.Box
import androidx.compose.foundation.ContentGravity
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.ScrollableColumn
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.*
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier

Loading…
Cancel
Save