修复榜单头像框问题

This commit is contained in:
18401019693 2023-05-27 17:22:13 +08:00
parent f064864d76
commit c28a91b128
2 changed files with 4 additions and 3 deletions

View File

@ -9,9 +9,9 @@ ext {
]
manifestPlaceholders = [
//
serverHost : "https://napi.yaoulive.com",
// serverHost : "https://napi.yaoulive.com",
//
// serverHost : "https://ceshi.yaoulive.com",
serverHost : "https://ceshi.yaoulive.com",
//
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",

View File

@ -308,7 +308,7 @@ public abstract class AbsMainListChildViewHolder extends AbsMainViewHolder imple
setVisibility(View.GONE, -1, svga1, svga2, svga3);
if (bean.getDress_head() != null) {
if (bean.getDress_head().contains("svga")) {
setVisibility(View.VISIBLE, position, svga1, svga2, svga3);
try {
new SVGAParser(mContext).parse(new URL(bean.getDress_head()), new SVGAParser.ParseCompletion() {
@Override
@ -316,6 +316,7 @@ public abstract class AbsMainListChildViewHolder extends AbsMainViewHolder imple
SVGADrawable drawable = new SVGADrawable(videoItem);
getItem(position, svga1, svga2, svga3).setImageDrawable(drawable);
SVGAViewUtils.playEndClear(getItem(position, svga1, svga2, svga3), false);
setVisibility(View.VISIBLE, position, svga1, svga2, svga3);
}
@Override