注释H5回调的openGiftWall方法,还是使用toGiftNamingAlertAllPageView方法跳到礼物墙
This commit is contained in:
parent
7b53729849
commit
101973bdff
@ -11,6 +11,7 @@ import android.os.Build;
|
|||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.provider.MediaStore;
|
import android.provider.MediaStore;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
@ -33,6 +34,7 @@ import com.yunbao.common.CommonAppContext;
|
|||||||
import com.yunbao.common.Constants;
|
import com.yunbao.common.Constants;
|
||||||
import com.yunbao.common.HtmlConfig;
|
import com.yunbao.common.HtmlConfig;
|
||||||
import com.yunbao.common.R;
|
import com.yunbao.common.R;
|
||||||
|
import com.yunbao.common.bean.IMLoginModel;
|
||||||
import com.yunbao.common.bean.LiveBean;
|
import com.yunbao.common.bean.LiveBean;
|
||||||
import com.yunbao.common.dialog.GiftWallDialog;
|
import com.yunbao.common.dialog.GiftWallDialog;
|
||||||
import com.yunbao.common.event.JavascriptInterfaceEvent;
|
import com.yunbao.common.event.JavascriptInterfaceEvent;
|
||||||
@ -435,11 +437,6 @@ public class WebViewActivity extends AbsActivity {
|
|||||||
gotoLive(event.getLiveId());
|
gotoLive(event.getLiveId());
|
||||||
}else if (TextUtils.equals(event.getMethod(), "androidtoCommunityVideo")) {
|
}else if (TextUtils.equals(event.getMethod(), "androidtoCommunityVideo")) {
|
||||||
RouteUtil.forwardCommunityActivity();
|
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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user