Class MimeTypeIconProviderImpl
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.MimeTypeIconProvider
public final class MimeTypeIconProviderImpl implements MimeTypeIconProvider
Provides icons for file attachments.
-
-
Constructor Summary
Constructors Constructor Description MimeTypeIconProviderImpl()
-
Method Summary
Modifier and Type Method Description IntegergetIconRes(String mimeType)Returns a drawable resource for the given MIME type. -
-
Method Detail
-
getIconRes
Integer getIconRes(String mimeType)
Returns a drawable resource for the given MIME type.
- Parameters:
mimeType- The MIME type (i.e.- Returns:
The drawable resource for the given MIME type.
-
-
-
-