From c28a91b12849caaf90ac4b5d74c757d3e2c0048c Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Sat, 27 May 2023 17:22:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A6=9C=E5=8D=95=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E6=A1=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.gradle | 4 ++-- .../com/yunbao/main/views/AbsMainListChildViewHolder.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config.gradle b/config.gradle index 4aab71a23..f3ad9d81e 100644 --- a/config.gradle +++ b/config.gradle @@ -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", diff --git a/main/src/main/java/com/yunbao/main/views/AbsMainListChildViewHolder.java b/main/src/main/java/com/yunbao/main/views/AbsMainListChildViewHolder.java index a32de8e80..4e4b9d0f1 100644 --- a/main/src/main/java/com/yunbao/main/views/AbsMainListChildViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/AbsMainListChildViewHolder.java @@ -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