|
@@ -205,6 +205,18 @@ class JoinRoomManager : IRoomActiveListener {
|
|
|
})
|
|
|
|
|
|
}
|
|
|
+ if (!userJoinRoomBean.androidHeadSpecial.isNullOrEmpty()) {
|
|
|
+ svgParser?.decodeFromURL(URL(userJoinRoomBean.androidHeadSpecial), object :SVGAParser.ParseCompletion{
|
|
|
+ override fun onComplete(videoItem: SVGAVideoEntity) {
|
|
|
+ val drawable = SVGADrawable(videoItem)
|
|
|
+ svgaAvatar?.setImageDrawable(drawable)
|
|
|
+ svgaAvatar?.startAnimation()
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun onError() {
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|