修改测试问题

This commit is contained in:
18401019693 2022-09-28 15:07:41 +08:00
parent e2a151a5af
commit b9c6b4afec
2 changed files with 19 additions and 1 deletions

View File

@ -302,6 +302,24 @@ public class ZhuangBanActivity extends AbsActivity {
intent.putExtra("isFull", false); intent.putExtra("isFull", false);
mContext.startActivity(intent); mContext.startActivity(intent);
}
/**
* 新跳转
*
* @param url 跳转的url
* @param title 有标题的展示标题
*/
@JavascriptInterface
public void androidClickToNewH5PageView(String url, String title) {
url = CommonAppConfig.HOST + url;
url += "?uid=" + CommonAppConfig.getInstance().getUid() + "&token="
+ CommonAppConfig.getInstance().getToken();
Log.i("tag", url);
Intent intent = new Intent(mContext, com.yunbao.live.activity.ZhuangBanActivity.class);
intent.putExtra("url", url);
intent.putExtra("title", title);
mContext.startActivity(intent);
} }
/** /**
* 设置超皇字体颜色 * 设置超皇字体颜色

View File

@ -67,7 +67,7 @@ public class MainHomeLiveWeekItemViewHolder<T> extends RecyclerView.ViewHolder {
public void onComplete(SVGAVideoEntity videoItem) { public void onComplete(SVGAVideoEntity videoItem) {
SVGADrawable drawable = new SVGADrawable(videoItem); SVGADrawable drawable = new SVGADrawable(videoItem);
weekSvga.setImageDrawable(drawable); weekSvga.setImageDrawable(drawable);
SVGAViewUtils.playEndClear(weekSvga); SVGAViewUtils.playEndClear(weekSvga,false);
weekSvga.setClearsAfterStop(false); weekSvga.setClearsAfterStop(false);
} }