public class GlideKitImageEngine extends java.lang.Object implements KitImageEngine
Constructor and Description |
---|
GlideKitImageEngine() |
Modifier and Type | Method and Description |
---|---|
protected <any> |
getPortraitTransformation() |
void |
loadAsGifImage(android.content.Context context,
java.lang.String url,
android.widget.ImageView imageView)
加载gif
|
void |
loadConversationListPortrait(android.content.Context context,
java.lang.String url,
android.widget.ImageView imageView,
Conversation conversation)
加载会话列表页,单个会话的会话头像
|
void |
loadConversationPortrait(android.content.Context context,
java.lang.String url,
android.widget.ImageView imageView,
Message message)
加载会话页,单个消息的用户头像
|
void |
loadFolderImage(android.content.Context context,
java.lang.String url,
android.widget.ImageView imageView)
加载相册目录
|
void |
loadGridImage(android.content.Context context,
java.lang.String url,
android.widget.ImageView imageView)
加载图片列表图片
|
void |
loadImage(android.content.Context context,
java.lang.String url,
android.widget.ImageView imageView)
加载图片
|
public void loadImage(android.content.Context context, java.lang.String url, android.widget.ImageView imageView)
loadImage
in interface ImageEngine
context
- url
- imageView
- public void loadFolderImage(android.content.Context context, java.lang.String url, android.widget.ImageView imageView)
loadFolderImage
in interface ImageEngine
context
- 上下文url
- 图片路径imageView
- 承载图片ImageViewpublic void loadAsGifImage(android.content.Context context, java.lang.String url, android.widget.ImageView imageView)
loadAsGifImage
in interface ImageEngine
context
- 上下文url
- 图片路径imageView
- 承载图片ImageViewpublic void loadGridImage(android.content.Context context, java.lang.String url, android.widget.ImageView imageView)
loadGridImage
in interface ImageEngine
context
- 上下文url
- 图片路径imageView
- 承载图片ImageViewpublic void loadConversationListPortrait(android.content.Context context, java.lang.String url, android.widget.ImageView imageView, Conversation conversation)
KitImageEngine
loadConversationListPortrait
in interface KitImageEngine
context
- 上下文url
- 单个会话头像地址imageView
- 加载头像的 view 控件conversation
- 当前会话,可根据会话类型配置不同默认图public void loadConversationPortrait(android.content.Context context, java.lang.String url, android.widget.ImageView imageView, Message message)
KitImageEngine
loadConversationPortrait
in interface KitImageEngine
context
- 上下文url
- 单个消息用户头像地址imageView
- 加载头像的 view 控件message
- 当前消息,可根据会话类型配置不同默认图protected <any> getPortraitTransformation()