Skip to content

Commit b306a5c

Browse files
committed
- collapse kdocs, re-arrange gradle structure
1 parent 721b418 commit b306a5c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

samplejava/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ android {
3030

3131
dependencies {
3232
// Add new dependencies
33-
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.1"
34-
3533
implementation "io.getstream:stream-chat-android-ui-components:5.2.0"
3634
implementation "com.google.android.material:material:1.6.0"
3735
implementation "androidx.activity:activity-ktx:1.4.0"
3836
implementation "io.coil-kt:coil:1.4.0"
37+
38+
// We use the ktx dependency for transforming StateFlow into LiveData
39+
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.1"
3940
}

samplejava/src/main/java/com/example/chattutorial/ChannelActivity3.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ public void handleOnBackPressed() {
143143
});
144144
}
145145

146+
// Helper method that transforms typing updates into a string
147+
// containing typing member's names
146148
@NonNull
147149
private String joinTypingUpdatesToUserNames(@NonNull TypingEvent typingEvent) {
148150
StringBuilder joinedString = new StringBuilder();

0 commit comments

Comments
 (0)