File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed
src/main/java/com/example/chattutorial
src/main/java/com/example/chattutorial Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ android {
3030
3131dependencies {
3232 // Add new dependencies
33- implementation " io.getstream:stream-chat-android-ui-components:4.22 .0"
33+ implementation " io.getstream:stream-chat-android-ui-components:4.23 .0"
3434 implementation ' io.coil-kt:coil:1.4.0'
3535
3636 implementation ' androidx.core:core-ktx:1.7.0'
37- implementation ' androidx.appcompat:appcompat:1.3.1 '
37+ implementation ' androidx.appcompat:appcompat:1.4.0 '
3838 implementation ' com.google.android.material:material:1.4.0'
39- implementation ' androidx.constraintlayout:constraintlayout:2.1.1 '
39+ implementation ' androidx.constraintlayout:constraintlayout:2.1.2 '
4040 testImplementation ' junit:junit:4.+'
4141 androidTestImplementation ' androidx.test.ext:junit:1.1.3'
4242 androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
Original file line number Diff line number Diff line change 99import com .google .android .material .shape .ShapeAppearanceModel ;
1010
1111import org .jetbrains .annotations .NotNull ;
12+ import org .jetbrains .annotations .Nullable ;
1213
1314import coil .Coil ;
1415import coil .request .ImageRequest ;
1516import io .getstream .chat .android .client .models .Attachment ;
17+ import io .getstream .chat .android .ui .message .list .MessageListItemStyle ;
1618import io .getstream .chat .android .ui .message .list .adapter .MessageListListenerContainer ;
1719import io .getstream .chat .android .ui .message .list .adapter .viewholder .attachment .AttachmentViewFactory ;
18- import io .getstream .chat .android .ui .message .list .MessageListItemStyle ;
1920
2021public class ImgurAttachmentViewFactory extends AttachmentViewFactory {
2122
2223 @ NotNull
2324 @ Override
2425 public View createAttachmentView (@ NotNull MessageListItem .MessageItem data ,
25- @ NotNull MessageListListenerContainer listeners ,
26+ @ Nullable MessageListListenerContainer listeners ,
2627 @ NotNull MessageListItemStyle style ,
2728 @ NotNull ViewGroup parent ) {
2829 Attachment imgurAttachment = null ;
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ android {
3131
3232dependencies {
3333 // Add new dependencies
34- implementation " io.getstream:stream-chat-android-ui-components:4.22 .0"
34+ implementation " io.getstream:stream-chat-android-ui-components:4.23 .0"
3535 implementation ' io.coil-kt:coil:1.4.0'
36- implementation " androidx.activity:activity-ktx:1.3.1 "
36+ implementation " androidx.activity:activity-ktx:1.4.0 "
3737
3838 implementation ' androidx.core:core-ktx:1.7.0'
39- implementation ' androidx.appcompat:appcompat:1.3.1 '
39+ implementation ' androidx.appcompat:appcompat:1.4.0 '
4040 implementation ' com.google.android.material:material:1.4.0'
41- implementation ' androidx.constraintlayout:constraintlayout:2.1.1 '
41+ implementation ' androidx.constraintlayout:constraintlayout:2.1.2 '
4242 testImplementation ' junit:junit:4.+'
4343 androidTestImplementation ' androidx.test.ext:junit:1.1.3'
4444 androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class ImgurAttachmentViewFactory : AttachmentViewFactory() {
1515
1616 override fun createAttachmentView (
1717 data : MessageListItem .MessageItem ,
18- listeners : MessageListListenerContainer ,
18+ listeners : MessageListListenerContainer ? ,
1919 style : MessageListItemStyle ,
2020 parent : ViewGroup ,
2121 ): View {
You can’t perform that action at this time.
0 commit comments