移除调试代码

This commit is contained in:
zlzw 2023-04-01 11:18:04 +08:00
parent e301e7bfce
commit d035018ada

View File

@ -367,11 +367,6 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement
.setOnBannerClickListener(new OnBannerClickListener() { .setOnBannerClickListener(new OnBannerClickListener() {
@Override @Override
public void onBannerClick(List datas, int p) { public void onBannerClick(List datas, int p) {
if (false) {
throw new NullPointerException("空指针测试异常");
// mContext.startActivity(new Intent(mContext, TestActivity.class));
//return;
}
if (mBannerList != null) { if (mBannerList != null) {
if (p >= 0 && p < mBannerList.size()) { if (p >= 0 && p < mBannerList.size()) {
BannerBean bean = mBannerList.get(p); BannerBean bean = mBannerList.get(p);