WebViewActivity增加点击跳转(openGiftWall)到周星榜

This commit is contained in:
老皮 2024-10-06 18:04:14 +08:00
parent 9475acd585
commit 9d2814c36f

View File

@ -34,6 +34,7 @@ import com.yunbao.common.Constants;
import com.yunbao.common.HtmlConfig;
import com.yunbao.common.R;
import com.yunbao.common.bean.LiveBean;
import com.yunbao.common.dialog.GiftWallDialog;
import com.yunbao.common.event.JavascriptInterfaceEvent;
import com.yunbao.common.event.LiveRoomChangeEvent;
import com.yunbao.common.http.LiveHttpUtil;
@ -434,6 +435,11 @@ public class WebViewActivity extends AbsActivity {
gotoLive(event.getLiveId());
}else if (TextUtils.equals(event.getMethod(), "androidtoCommunityVideo")) {
RouteUtil.forwardCommunityActivity();
}else if (TextUtils.equals(event.getMethod(), "openGiftWall")) {
// 打开周星榜
new GiftWallDialog(mContext, IMLoginManager.get(mContext).getUserInfo().getId() + "",
IMLoginManager.get(mContext).getUserInfo().getUserNicename(), null
, false).setFullWindows(false).showDialog();
}
}