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