This repository was archived by the owner on Feb 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
java/dev/mishkun/trycompose Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 12
12
/studio
13
13
/captures
14
14
.externalNativeBuild
15
+ /androidx_prebuilts
Original file line number Diff line number Diff line change 10
10
android : icon =" @drawable/app_icon" >
11
11
<activity android : name =" dev.mishkun.trycompose.MainActivity" >
12
12
<intent-filter >
13
- <action android : name =" android.intent.action.MAIN" />
13
+ <action android : name =" android.intent.msg.MAIN" />
14
+
15
+ <action android : name =" android.intent.action.VIEW" />
14
16
15
17
<category android : name =" android.intent.category.LAUNCHER" />
16
18
</intent-filter >
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ package dev.mishkun.trycompose
3
3
import androidx.appcompat.app.AppCompatActivity
4
4
import android.os.Bundle
5
5
import androidx.compose.*
6
- import androidx.ui.core.CraneWrapper
6
+ import androidx.ui.core.setContent
7
7
8
8
class MainActivity : AppCompatActivity () {
9
9
10
10
override fun onCreate (savedInstanceState : Bundle ? ) {
11
11
super .onCreate(savedInstanceState)
12
- setContent { CraneWrapper { SimpleComposable () } }
12
+ setContent { SimpleComposable () }
13
13
}
14
14
}
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
buildscript {
3
- ext. kotlin_version = " 1.3.30-compose-20190503 "
3
+ ext. kotlin_version = " 1.3.30-compose-20190520 "
4
4
ext. androidx_home = project. properties[" androidx.home" ] ?: " $projectDir /androidx_prebuilts"
5
5
repositories {
6
6
maven { url " $androidx_home /out/ui/build/support_repo/" }
Original file line number Diff line number Diff line change 1
1
# This file specifies the version of the Android Gradle Plugin and Android Studio to use
2
- # TODO: autogenerate this file based on the version of AGP
3
2
4
- # the version of the Android Gradle Plugin
5
- agp =3.4.0
6
3
# version properties for studiow, which should correspond to the version of AGP
7
- studio_version =3.4.1.0
8
- idea_major_version =183
9
- studio_build_number =5543569
4
+ studio_version =3.5.0.13
5
+ idea_major_version =191
6
+ studio_build_number =5677133
You can’t perform that action at this time.
0 commit comments