File tree Expand file tree Collapse file tree 5 files changed +13
-18
lines changed
src/main/java/com/example/chattutorial Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' com.android.application'
3
3
id ' kotlin-android'
4
+ id ' org.jetbrains.kotlin.plugin.compose'
4
5
}
5
6
6
7
android {
7
- compileSdk 34
8
+ compileSdk 35
8
9
namespace " com.example.chattutorial"
9
10
10
11
defaultConfig {
@@ -36,9 +37,6 @@ android {
36
37
buildFeatures {
37
38
compose true
38
39
}
39
- composeOptions {
40
- kotlinCompilerExtensionVersion compose_compiler_version
41
- }
42
40
packagingOptions {
43
41
resources {
44
42
excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
@@ -47,11 +45,11 @@ android {
47
45
}
48
46
49
47
dependencies {
50
- implementation " io.getstream:stream-chat-android-compose:6.4.3 "
51
- implementation " io.getstream:stream-chat-android-offline:6.4.3 "
48
+ implementation " io.getstream:stream-chat-android-compose:6.12.1 "
49
+ implementation " io.getstream:stream-chat-android-offline:6.12.1 "
52
50
53
51
implementation(platform(" androidx.compose:compose-bom:2024.06.00" ))
54
- implementation(" androidx.activity:activity-compose:1.7.2 " )
52
+ implementation(" androidx.activity:activity-compose:1.10.1 " )
55
53
implementation(" androidx.compose.ui:ui" )
56
54
implementation(" androidx.compose.ui:ui-tooling" )
57
55
implementation(" androidx.compose.runtime:runtime" )
Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ class MessagesActivity3 : ComponentActivity() {
126
126
onDismiss = {
127
127
attachmentsPickerViewModel.changeAttachmentState(false )
128
128
attachmentsPickerViewModel.dismissAttachments()
129
- }
129
+ },
130
+ onTabClick = { _, _ -> /* Not needed for this example */ }
130
131
)
131
132
}
132
133
@@ -143,7 +144,6 @@ class MessagesActivity3 : ComponentActivity() {
143
144
messageOptions = defaultMessageOptionsState(
144
145
selectedMessage,
145
146
user,
146
- listViewModel.isInThread,
147
147
selectedMessageState.ownCapabilities
148
148
),
149
149
message = selectedMessage,
Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ class MessagesActivity4 : ComponentActivity() {
130
130
onDismiss = {
131
131
attachmentsPickerViewModel.changeAttachmentState(false )
132
132
attachmentsPickerViewModel.dismissAttachments()
133
- }
133
+ },
134
+ onTabClick = { _, _ -> /* Not needed for this example */ }
134
135
)
135
136
}
136
137
@@ -147,7 +148,6 @@ class MessagesActivity4 : ComponentActivity() {
147
148
messageOptions = defaultMessageOptionsState(
148
149
selectedMessage,
149
150
user,
150
- listViewModel.isInThread,
151
151
selectedMessageState.ownCapabilities
152
152
),
153
153
message = selectedMessage,
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext {
3
- compose_version = ' 1.5.1'
4
- compose_compiler_version = ' 1.5.3'
5
- }
6
2
repositories {
7
3
google()
8
4
mavenCentral()
9
5
}
10
6
dependencies {
11
- classpath " com.android.tools.build:gradle:8.1.1"
12
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10"
7
+ classpath " com.android.tools.build:gradle:8.8.2"
8
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21"
9
+ classpath " org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.21"
13
10
}
14
11
}
15
12
Original file line number Diff line number Diff line change 1
1
# Fri Sep 15 12:53:53 KST 2023
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -bin.zip
4
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.10.2 -bin.zip
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments