Skip to content

Commit 680c838

Browse files
author
PetarVelikov
committed
Fix compile error in ImgurAttachmentFactory.java.
1 parent e27426b commit 680c838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
import io.getstream.chat.android.models.Attachment;
1717
import io.getstream.chat.android.models.Message;
1818
import io.getstream.chat.android.ui.feature.messages.list.adapter.MessageListListenerContainer;
19-
import io.getstream.chat.android.ui.feature.messages.list.adapter.viewholder.attachment.AttachmentFactory;
19+
import io.getstream.chat.android.ui.feature.messages.list.adapter.viewholder.attachment.BaseAttachmentFactory;
2020
import io.getstream.chat.android.ui.feature.messages.list.adapter.viewholder.attachment.InnerAttachmentViewHolder;
2121

2222
/** A custom attachment factory to show an imgur logo if the attachment URL is an imgur image. **/
23-
public class ImgurAttachmentFactory implements AttachmentFactory {
23+
public class ImgurAttachmentFactory extends BaseAttachmentFactory {
2424

2525

2626
// Step 1 - Check whether the message contains an Imgur attachment

0 commit comments

Comments
 (0)