接口 IAvatarSet
-
- 所有已知子接口:
IConversationStyle
- 所有已知实现类:
EaseConversationListLayout
public interface IAvatarSet
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 voidsetAvatarBorderColor(int borderColor)Set the outer border colorvoidsetAvatarBorderWidth(int borderWidth)Set the width of the outer borderdefault voidsetAvatarDefaultSrc(android.graphics.drawable.Drawable src)Set default avatarvoidsetAvatarRadius(int radius)Set avatar radiusvoidsetAvatarShapeType(EaseImageView.ShapeType shapeType)Set avatar stylevoidsetAvatarSize(float avatarSize)Set the size of the avatar, the length and width are the same
-
-
-
方法详细资料
-
setAvatarDefaultSrc
default void setAvatarDefaultSrc(android.graphics.drawable.Drawable src)
Set default avatar- 参数:
src-
-
setAvatarSize
void setAvatarSize(float avatarSize)
Set the size of the avatar, the length and width are the same- 参数:
avatarSize-
-
setAvatarShapeType
void setAvatarShapeType(EaseImageView.ShapeType shapeType)
Set avatar style- 参数:
shapeType-
-
setAvatarRadius
void setAvatarRadius(int radius)
Set avatar radius- 参数:
radius-
-
setAvatarBorderWidth
void setAvatarBorderWidth(int borderWidth)
Set the width of the outer border- 参数:
borderWidth-
-
setAvatarBorderColor
void setAvatarBorderColor(int borderColor)
Set the outer border color- 参数:
borderColor-
-
-