File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samplejava/src/main/java/com/example/chattutorial Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1616import io .getstream .chat .android .models .Attachment ;
1717import io .getstream .chat .android .models .Message ;
1818import 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 ;
2020import 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
You can’t perform that action at this time.
0 commit comments